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 AD0E86B007E for ; Tue, 20 Mar 2012 09:30:50 -0400 (EDT) Received: by yhr47 with SMTP id 47so47163yhr.14 for ; Tue, 20 Mar 2012 06:30:49 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 20 Mar 2012 14:30:49 +0100 Message-ID: Subject: Re: [PATCH 0/20] mmu: arch/mm: Port OOM changes to arch page fault handlers. From: richard -rw- weinberger Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: Kautuk Consul Cc: linux-alpha@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux@lists.openrisc.net, linux-am33-list@redhat.com, microblaze-uclinux@itee.uq.edu.au, linux-m68k@lists.linux-m68k.org, linux-m32r-ja@ml.linux-m32r.org, linux-ia64@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-cris-kernel@axis.com, linux-sh@vger.kernel.org, linux-parisc@vger.kernel.org, sparclinux@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org On Tue, Mar 20, 2012 at 2:18 PM, Kautuk Consul wrote: > Commit d065bd810b6deb67d4897a14bfe21f8eb526ba99 > (mm: retry page fault when blocking on disk transfer) and > commit 37b23e0525d393d48a7d59f870b3bc061a30ccdb > (x86,mm: make pagefault killable) > > The above commits introduced changes into the x86 pagefault handler > for making the page fault handler retryable as well as killable. > > These changes reduce the mmap_sem hold time, which is crucial > during OOM killer invocation. > > I was facing hang and livelock problems on my ARM and MIPS boards when > I invoked OOM by running the stress_32k.c test-case attached to this email. > > Since both the ARM and MIPS porting chainges were accepted, me and my > co-worker decided to take the initiative to port these changes to all other > MMU based architectures. > > Please review and do write back if there is any way I need to > improve/rewrite any > of these patches. > What about arch/um/? Does UML not need this change? -- Thanks, //richard -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org