Messages in this thread | | | Date | Mon, 1 Jun 2009 13:16:41 +0200 | From | Nick Piggin <> | Subject | Re: [PATCH] [13/16] HWPOISON: The high level memory error handler in the VM v4 |
| |
On Fri, May 29, 2009 at 11:35:39PM +0200, Andi Kleen wrote: > + mapping = page_mapping(p); > + if (!PageDirty(p) && !PageWriteback(p) && > + !PageAnon(p) && !PageSwapBacked(p) && > + mapping && mapping_cap_account_dirty(mapping)) {
Haven't had another good look at this yet, but if you hold the page locked, and have done a wait_on_page_writeback, then PageWriteback == true is a kernel bug.
| |