Re: [PATCH] futex: Fix ZERO_PAGE cause infinite loop

From: Darren Hart
Date: Tue Jan 05 2010 - 13:05:17 EST


KOSAKI Motohiro wrote:

I don't know any library except glibc use futex directly, or not. but we don't have any reason to assume futex is used only glibc.
(plus, glibc might change its implementation in future release, perhaps)

I only know of 3 off-hand. The checkpoint restart guys have test suites that use the futex syscalls. The futextest test suite obviously does. There is also the userspace RCU library that Mathieu Desnoyers has been workingon. None of these make use off the zero page as far as I know. However, once we sort this out, I shall have to add such a test to futextest, perhaps something similar to the test in this thread.

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