[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A1F6166.4020006@hitachi.com>
Date: Fri, 29 May 2009 13:15:34 +0900
From: Hidehiro Kawai <hidehiro.kawai.ez@...achi.com>
To: Andi Kleen <andi@...stfloor.org>
Cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, fengguang.wu@...el.com,
Satoshi OSHIMA <satoshi.oshima.fk@...achi.com>,
Taketoshi Sakuraba <taketoshi.sakuraba.hc@...achi.com>
Subject: Re: [PATCH] [6/16] HWPOISON: Add basic support for poisoned pages in
fault handler v2
Andi Kleen wrote:
> - Add a new VM_FAULT_HWPOISON error code to handle_mm_fault. Right now
> architectures have to explicitely enable poison page support, so
> this is forward compatible to all architectures. They only need
> to add it when they enable poison page support.
> - Add poison page handling in swap in fault code
>
> v2: Add missing delayacct_clear_flag (Hidehiro Kawai)
[snip]
> goto out;
> }
> delayacct_set_flag(DELAYACCT_PF_SWAPIN);
> @@ -2484,6 +2492,10 @@
> /* Had to read the page from swap area: Major fault */
> ret = VM_FAULT_MAJOR;
> count_vm_event(PGMAJFAULT);
> + } else if (PageHWPoison(page)) {
> + ret = VM_FAULT_HWPOISON;
> + delayacct_set_flag(DELAYACCT_PF_SWAPIN);
> + goto out;
Is this delayacct_clear_flag()? :-p
Regards,
--
Hidehiro Kawai
Hitachi, Systems Development Laboratory
Linux Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists