Re: [PATCH V4 1/3] MCE: fix an error of mce_bad_pages statistics

2012-12-12 Thread Naoya Horiguchi
On Wed, Dec 12, 2012 at 11:35:25AM +0800, Xishi Qiu wrote: > Move poisoned page check at the beginning of the function in order to > fix the error. Thanks for the fix. It works fine both on normal pages and hugepages in my testing. Tested-by: Naoya Horiguchi Just nitpick below ... >

Re: [PATCH V4 1/3] MCE: fix an error of mce_bad_pages statistics

2012-12-12 Thread Naoya Horiguchi
On Wed, Dec 12, 2012 at 11:35:25AM +0800, Xishi Qiu wrote: Move poisoned page check at the beginning of the function in order to fix the error. Thanks for the fix. It works fine both on normal pages and hugepages in my testing. Tested-by: Naoya Horiguchi n-horigu...@ah.jp.nec.com Just nitpick

[PATCH V4 1/3] MCE: fix an error of mce_bad_pages statistics

2012-12-11 Thread Xishi Qiu
Move poisoned page check at the beginning of the function in order to fix the error. Signed-off-by: Xishi Qiu Signed-off-by: Jiang Liu --- mm/memory-failure.c | 38 +- 1 files changed, 17 insertions(+), 21 deletions(-) diff --git a/mm/memory-failure.c

[PATCH V4 1/3] MCE: fix an error of mce_bad_pages statistics

2012-12-11 Thread Xishi Qiu
Move poisoned page check at the beginning of the function in order to fix the error. Signed-off-by: Xishi Qiu qiuxi...@huawei.com Signed-off-by: Jiang Liu jiang@huawei.com --- mm/memory-failure.c | 38 +- 1 files changed, 17 insertions(+), 21