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

From: Peter Zijlstra
Date: Thu Mar 12 2009 - 06:15:47 EST


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!

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/