Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756043AbYKEQyx (ORCPT ); Wed, 5 Nov 2008 11:54:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752826AbYKEQyo (ORCPT ); Wed, 5 Nov 2008 11:54:44 -0500 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:35393 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752726AbYKEQyo (ORCPT ); Wed, 5 Nov 2008 11:54:44 -0500 Date: Wed, 5 Nov 2008 16:54:05 +0000 From: Alan Cox To: Hugh Dickins Cc: "Eugene V. Lyubimkin" , Peter Zijlstra , Chris Friesen , Rik van Riel , linux-kernel@vger.kernel.org, linux-mm Subject: Re: mmap: is default non-populating behavior stable? Message-ID: <20081105165405.777ab502@lxorguk.ukuu.org.uk> In-Reply-To: References: <490F73CD.4010705@gmail.com> <1225752083.7803.1644.camel@twins> <490F8005.9020708@redhat.com> <491070B5.2060209@nortel.com> <1225814820.7803.1672.camel@twins> <20081104162820.644b1487@lxorguk.ukuu.org.uk> <49107D98.9080201@gmail.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.12; x86_64-redhat-linux-gnu) Organization: Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 770 Lines: 18 > (Every year or so we do wonder whether to change an extending mremap > of a MAP_SHARED|MAP_ANONYMOUS object to extend the object itself instead > of just SIGBUSing on the extension: but I've so far remained conservative > about that, and Eugene appears to be thinking of more ordinary files.) Try an mremap of a VM_GROWS* mapping and all the other things of this nature. I would say our current behaviour is not what might be expected by users. The extending an object case is just one example of weird behaviour. Alan -- 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/