Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263140AbUCMRlh (ORCPT ); Sat, 13 Mar 2004 12:41:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263141AbUCMRlh (ORCPT ); Sat, 13 Mar 2004 12:41:37 -0500 Received: from bay-bridge.veritas.com ([143.127.3.10]:39073 "EHLO MTVMIME01.enterprise.veritas.com") by vger.kernel.org with ESMTP id S263140AbUCMRlg (ORCPT ); Sat, 13 Mar 2004 12:41:36 -0500 Date: Sat, 13 Mar 2004 17:41:37 +0000 (GMT) From: Hugh Dickins X-X-Sender: hugh@localhost.localdomain To: Rik van Riel cc: Linus Torvalds , Andrea Arcangeli , William Lee Irwin III , Ingo Molnar , Andrew Morton , Kernel Mailing List Subject: Re: anon_vma RFC2 In-Reply-To: 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: 672 Lines: 20 On Sat, 13 Mar 2004, Rik van Riel wrote: > > No, Linus is right. > > If a child process uses mremap(), it stands to reason that > it's about to use those pages for something. > > Think of it as taking the COW faults early, because chances > are you'd be taking them anyway, just a little bit later... Makes perfect sense in the read-write case. The read-only case is less satisfactory, but those will be even rarer. Hugh - 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/