Re: [PATCH 6/6] futex: cleanup fault logic

Darren Hart
2009-03-12T15:09:32Z

Peter Zijlstra wrote:
> On Thu, 2009-03-12 at 00:56 -0700, Darren Hart wrote:
>> Older versions of the futex code held the mmap_sem which had to be
>> dropped in order to call get_user(), so a two-pronged fault handling
>> mechanism was employed to handle faults of the atomic operations. The
>> mmap_sem is no longer held, so get_user() should be adequate. This patch
>> greatly simplifies the logic and improves legibility.
>
> Thanks!

And I should have added a credit to Peter to helping me untangle it all
and decide how to proceed with this patch. Thanks Peter.

--
Darren Hart
IBM Linux Technology Center
Real-Time Linux Team