Re: [RFC 1/8] mm: add overflow and underflow checks for page->_refcount
From: Pasha Tatashin <pasha.tatashin@soleen.com>
Date: 2021-10-27 18:23:43
Also in:
linux-m68k, lkml
From: Pasha Tatashin <pasha.tatashin@soleen.com>
Date: 2021-10-27 18:23:43
Also in:
linux-m68k, lkml
On Tue, Oct 26, 2021 at 11:05 PM Matthew Wilcox [off-list ref] wrote:
On Tue, Oct 26, 2021 at 09:21:29PM -0400, Pasha Tatashin wrote:quoted
I think we can do that by using: atomic_fetch_*() and check for overflow/underflow after operation. I will send the updated series soon.Please include performance measurements. You're adding code to some hot paths.
I will do boot performance tests to ensure we do not regress initializing "struct pages" on larger machines. Do you have a suggestion for another perf test? Thanks, Pasha