Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 8 Oct 2002 18:08:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 8 Oct 2002 18:08:28 -0400 Received: from smtpout.mac.com ([204.179.120.89]:6865 "EHLO smtpout.mac.com") by vger.kernel.org with ESMTP id ; Tue, 8 Oct 2002 18:08:27 -0400 Message-ID: <3DA3589A.ED470EC5@mac.com> Date: Wed, 09 Oct 2002 00:13:46 +0200 From: Peter =?iso-8859-1?Q?W=E4chtler?= Organization: B16 X-Mailer: Mozilla 4.79 [de] (X11; U; Linux 2.4.18-4GB-SMP i686) X-Accept-Language: de, en MIME-Version: 1.0 To: linux-kernel@vger.kernel.org, pthreads-devel@www-124.southbury.usf.ibm.com Subject: 2.5.40+ futex broken with COW Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 501 Lines: 13 The COW changes break PROCESS_SHARED futexes in mmap( MAP_SHARED ). I think that COW is unconditionally used on fork(). But you need to check for MAP_SHARED, eh? If wanted I can provide a testcase (that runs fine on 2.4.19+futex patch + NGPT and on Irix) - 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/