diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2009-09-29 07:16:20 +0200 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2009-10-19 07:28:24 +0200 |
commit | e43c3afb367112a5b357f9adfac7817255129c88 (patch) | |
tree | b85f21b23ab3a3c38a37cb192bd9a845e964c501 /mm/maccess.c | |
parent | HWPOISON: Add brief hwpoison description to Documentation (diff) | |
download | linux-e43c3afb367112a5b357f9adfac7817255129c88.tar.xz linux-e43c3afb367112a5b357f9adfac7817255129c88.zip |
HWPOISON: return early on non-LRU pages
Right now we have some trouble with non atomic access
to page flags when locking the page. To plug this hole
for now, limit error recovery to LRU pages for now.
This could be better fixed by defining a suitable protocol,
but let's go this simple way for now
This avoids unnecessary races with __set_page_locked() and
__SetPageSlab*() and maybe more non-atomic page flag operations.
This loses isolated pages which are currently in page reclaim, but these
are relatively limited compared to the total memory.
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
[AK: new description, bug fixes, cleanups]
Diffstat (limited to 'mm/maccess.c')
0 files changed, 0 insertions, 0 deletions