Re: [RFC] x86: gup_fast() batch limit (was: DRM lock ordering fix series)

2009-04-02 Thread Nick Piggin
On Saturday 28 March 2009 23:46:14 Peter Zijlstra wrote: > On Sat, 2009-03-28 at 13:22 +0100, Peter Zijlstra wrote: > > I'm not really trusting my brain today, but something like the below > > should work I think. > > > > Nick, any thoughts? > > > > Not-Signed-off-by: Peter Zijlstra > > --- > > a

[RFC] x86: gup_fast() batch limit (was: DRM lock ordering fix series)

2009-03-28 Thread Peter Zijlstra
On Sat, 2009-03-28 at 11:48 +0100, Peter Zijlstra wrote: > On Sat, 2009-03-28 at 09:46 +0100, Brice Goglin wrote: > > Peter Zijlstra wrote: > > > Also note that doing large gup() with gup_fast() will be undesirable due > > > to it disabling IRQs. So iterating say several MB worth of pages will > >

Re: [RFC] x86: gup_fast() batch limit (was: DRM lock ordering fix series)

2009-03-28 Thread Peter Zijlstra
On Sat, 2009-03-28 at 13:22 +0100, Peter Zijlstra wrote: > I'm not really trusting my brain today, but something like the below > should work I think. > > Nick, any thoughts? > > Not-Signed-off-by: Peter Zijlstra > --- > arch/x86/mm/gup.c | 24 +--- > 1 files changed, 21