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

From: Darren Hart
Date: Thu Mar 12 2009 - 11:09:33 EST


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
--
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/