Re: [PATCH 04/20] powerpc/mm/fault.c: Port OOM changes to do_page_fault

2012-03-20 Thread Kautuk Consul
On Tue, Mar 20, 2012 at 10:06 AM, Peter Zijlstra wrote: > On Tue, 2012-03-20 at 09:19 -0400, Kautuk Consul wrote: >> +#ifd#ifdef CONFIG_PPC_SMLPAR >> +                       if (firmware_has_feature(FW_FEATURE_CMO)) { >> +                               preempt_disable(); >> +                      

[PATCH 04/20] powerpc/mm/fault.c: Port OOM changes to do_page_fault

2012-03-20 Thread Kautuk Consul
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 retryabl

Re: [PATCH 04/20] powerpc/mm/fault.c: Port OOM changes to do_page_fault

2012-03-20 Thread Peter Zijlstra
On Tue, 2012-03-20 at 09:19 -0400, Kautuk Consul wrote: > +#ifd#ifdef CONFIG_PPC_SMLPAR > + if (firmware_has_feature(FW_FEATURE_CMO)) { > + preempt_disable(); > + get_lppaca()->page_ins += (1 << PAGE_FACTOR); > +