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

Peter Zijlstra
2009-03-12T10:15:47Z

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!