Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265444AbTIDSqo (ORCPT ); Thu, 4 Sep 2003 14:46:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265488AbTIDSqo (ORCPT ); Thu, 4 Sep 2003 14:46:44 -0400 Received: from fw.osdl.org ([65.172.181.6]:65000 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S265444AbTIDSqk (ORCPT ); Thu, 4 Sep 2003 14:46:40 -0400 Date: Thu, 4 Sep 2003 11:46:28 -0700 (PDT) From: Linus Torvalds To: Jamie Lokier cc: Hugh Dickins , Rusty Russell , Andrew Morton , Ingo Molnar , Subject: Re: [PATCH] Alternate futex non-page-pinning and COW fix In-Reply-To: <20030904183819.GF30394@mail.jlokier.co.uk> 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: 814 Lines: 25 On Thu, 4 Sep 2003, Jamie Lokier wrote: > > * I contend that the user-visible behaviour of a mapping should > * _not_ depend on whether the file was opened with O_RDWR or O_RDONLY. And I violently agree. But I also add the _other_ requirement: * I contend that user-visible behaviour of a mapping should be 100% the * same for a unwritable MAP_SHARED and a unwritten MAP_PRIVATE Put the two together, and see what you get. You get the requirement that if MAP_SHARED works, then MAP_PRIVATE also has to work. That's my requirement. Consistency. 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/