Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264805AbTIDI3L (ORCPT ); Thu, 4 Sep 2003 04:29:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264812AbTIDI3L (ORCPT ); Thu, 4 Sep 2003 04:29:11 -0400 Received: from fw.osdl.org ([65.172.181.6]:63172 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S264805AbTIDI3I (ORCPT ); Thu, 4 Sep 2003 04:29:08 -0400 Date: Thu, 4 Sep 2003 01:28:26 -0700 (PDT) From: Linus Torvalds To: Rusty Russell cc: Hugh Dickins , Jamie Lokier , Andrew Morton , Ingo Molnar , Subject: Re: [PATCH] Alternate futex non-page-pinning and COW fix In-Reply-To: <20030904024345.CC3E02C018@lists.samba.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 751 Lines: 22 On Thu, 4 Sep 2003, Rusty Russell wrote: > > However, Jamie's futex code will see !VM_SHARED on the mapping, and > compare futexes by mm + uaddr (rather than inode + file offset), so > this is NOT the case. Using VM_MAYSHARE instead would make the > MAP_SHARED readonly case work as above, though. But that is WORSE! Now MAP_SHARED works, but MAP_PRIVATE does not. That's still the same bug, but now it' san inconsistent bug! I'd rather have a consistent bug than one that makes no sense. Linus - 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/