RE: [RFC/PATCH] mm/futex: Fix futex writes on archs with SW trackingof dirty & young

2011-07-19 Thread Benjamin Herrenschmidt
On Tue, 2011-07-19 at 09:26 +0100, David Laight wrote: > > Got it, if the fault_in_user_writeable() is designed to catch the > > exact same write permission fault problem we discuss here, so > > your patch fixed that very nicely, we should fixup it by directly > > calling handle_mm_fault like what

Re: [RFC/PATCH] mm/futex: Fix futex writes on archs with SW trackingof dirty & young

2011-07-19 Thread Shan Hai
On 07/19/2011 04:26 PM, David Laight wrote: Got it, if the fault_in_user_writeable() is designed to catch the exact same write permission fault problem we discuss here, so your patch fixed that very nicely, we should fixup it by directly calling handle_mm_fault like what you did because we are

RE: [RFC/PATCH] mm/futex: Fix futex writes on archs with SW trackingof dirty & young

2011-07-19 Thread David Laight
> Got it, if the fault_in_user_writeable() is designed to catch the > exact same write permission fault problem we discuss here, so > your patch fixed that very nicely, we should fixup it by directly > calling handle_mm_fault like what you did because we are for sure > to know what just happened(