Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 5 Mar 2002 09:42:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 5 Mar 2002 09:42:45 -0500 Received: from mnh-1-04.mv.com ([207.22.10.36]:50181 "EHLO ccure.karaya.com") by vger.kernel.org with ESMTP id ; Tue, 5 Mar 2002 09:42:29 -0500 Message-Id: <200203051443.JAA02119@ccure.karaya.com> X-Mailer: exmh version 2.0.2 To: Benjamin LaHaise Cc: Alan Cox , "H. Peter Anvin" , linux-kernel@vger.kernel.org Subject: Re: [RFC] Arch option to touch newly allocated pages In-Reply-To: Your message of "Mon, 04 Mar 2002 23:28:06 EST." <20020304232806.A31622@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 05 Mar 2002 09:43:39 -0500 From: Jeff Dike Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org bcrl@redhat.com said: > you only need to do the memsets once at startup of UML where the ram > is allocated -> a uml booted with 64MB of ram would write into every > page of the backing store file before even running the kernel. > Doesn't that accomplish the same thing? The other reason I don't like this is that, at some point, I'd like to start thinking about userspace cooperating with the kernel on memory management. UML looks like a perfect place to start since it's essentially identical to the host making it easier for the two to bargain over memory. Having UML react sanely to unbacked pages is a step in that direction, having UML preemptively grab all the memory it could ever use isn't. Jeff - 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/