From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail138.messagelabs.com (mail138.messagelabs.com [216.82.249.35]) by kanga.kvack.org (Postfix) with ESMTP id A38216B004F for ; Wed, 10 Jun 2009 04:57:52 -0400 (EDT) Date: Wed, 10 Jun 2009 10:59:39 +0200 From: Nick Piggin Subject: Re: [PATCH] [13/16] HWPOISON: The high level memory error handler in the VM v5 Message-ID: <20090610085939.GE31155@wotan.suse.de> References: <20090603846.816684333@firstfloor.org> <20090603184648.2E2131D028F@basil.firstfloor.org> <20090609100922.GF14820@wotan.suse.de> <20090610083803.GE6597@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090610083803.GE6597@localhost> Sender: owner-linux-mm@kvack.org To: Wu Fengguang Cc: Hugh Dickins , Andi Kleen , "riel@redhat.com" , "chris.mason@oracle.com" , "akpm@linux-foundation.org" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" List-ID: On Wed, Jun 10, 2009 at 04:38:03PM +0800, Wu Fengguang wrote: > On Wed, Jun 10, 2009 at 12:05:53AM +0800, Hugh Dickins wrote: > > I think a much more sensible approach would be to follow the page > > migration technique of replacing the page's ptes by a special swap-like > > entry, then do the killing from do_swap_page() if a process actually > > tries to access the page. > > We call that "late kill" and will be enabled when > sysctl_memory_failure_early_kill=0. Its default value is 1. What's the use of this? What are the tradeoffs, in what situations should an admin set this sysctl one way or the other? -- 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