Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754782Ab0AESFI (ORCPT ); Tue, 5 Jan 2010 13:05:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754570Ab0AESFH (ORCPT ); Tue, 5 Jan 2010 13:05:07 -0500 Received: from e5.ny.us.ibm.com ([32.97.182.145]:40208 "EHLO e5.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754379Ab0AESFG (ORCPT ); Tue, 5 Jan 2010 13:05:06 -0500 Message-ID: <4B437F4A.6030808@us.ibm.com> Date: Tue, 05 Jan 2010 10:04:58 -0800 From: Darren Hart User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: KOSAKI Motohiro CC: Peter Zijlstra , Hugh Dickins , KAMEZAWA Hiroyuki , Nick Piggin , Ingo Molnar , LKML , Thomas Gleixner , Ulrich Drepper Subject: Re: [PATCH] futex: Fix ZERO_PAGE cause infinite loop References: <20091224182630.3DCB.A69D9226@jp.fujitsu.com> <1261647565.4937.177.camel@laptop> <20091225083305.AA78.A69D9226@jp.fujitsu.com> In-Reply-To: <20091225083305.AA78.A69D9226@jp.fujitsu.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 968 Lines: 22 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/