From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx179.postini.com [74.125.245.179]) by kanga.kvack.org (Postfix) with SMTP id ABBB76B005A for ; Mon, 10 Dec 2012 21:14:35 -0500 (EST) Received: by mail-ie0-f177.google.com with SMTP id k13so10839711iea.36 for ; Mon, 10 Dec 2012 18:14:35 -0800 (PST) Message-ID: <1355192071.1933.7.camel@kernel.cn.ibm.com> Subject: Re: [PATCH V2] MCE: fix an error of mce_bad_pages statistics From: Simon Jeons Date: Mon, 10 Dec 2012 20:14:31 -0600 In-Reply-To: <20121211020313.GV16230@one.firstfloor.org> References: <50C1AD6D.7010709@huawei.com> <20121207141102.4fda582d.akpm@linux-foundation.org> <20121210083342.GA31670@hacker.(null)> <50C5A62A.6030401@huawei.com> <1355136423.1700.2.camel@kernel.cn.ibm.com> <50C5C4A2.2070002@huawei.com> <20121210153805.GS16230@one.firstfloor.org> <1355190540.1933.4.camel@kernel.cn.ibm.com> <20121211020313.GV16230@one.firstfloor.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: owner-linux-mm@kvack.org List-ID: To: Andi Kleen Cc: Xishi Qiu , Wanpeng Li , Andrew Morton , WuJianguo , Liujiang , Vyacheslav.Dubeyko@huawei.com, Borislav Petkov , linux-mm@kvack.org, linux-kernel@vger.kernel.org, wency@cn.fujitsu.com On Tue, 2012-12-11 at 03:03 +0100, Andi Kleen wrote: > > IIUC, soft offlining will isolate and migrate hwpoisoned page, and this > > page will not be accessed by memory management subsystem until unpoison, > > correct? > > No, soft offlining can still allow accesses for some time. It'll never kill > anything. Oh, it will be putback to lru list during migration. So does your "some time" mean before call check_new_page? -Simon > > Hard tries much harder and will kill. > > In some cases (unshrinkable kernel allocation) they end up doing the same > because there isn't any other alternative though. However these are > expected to only apply to a small percentage of pages in a typical > system. > > -Andi -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org