Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 7 Nov 2002 10:41:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 7 Nov 2002 10:41:26 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:56845 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Thu, 7 Nov 2002 10:41:22 -0500 Date: Thu, 7 Nov 2002 07:48:06 -0800 (PST) From: Linus Torvalds To: "Eric W. Biederman" cc: Alan Cox , Werner Almesberger , Suparna Bhattacharya , Jeff Garzik , "Matt D. Robinson" , Rusty Russell , Andy Pfiffer , Linux Kernel Mailing List , , Subject: Re: [lkcd-devel] Re: What's left over. 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: 1018 Lines: 24 On 7 Nov 2002, Eric W. Biederman wrote: > > In staging the image we allocate a whole pile of pages, and keep them > locked in place. Waiting for years potentially until the machine > reboots or panics. This memory is not accounted for anywhere so no > one can see that we have it allocated, which makes debugging hard. So how about facing the fact that my "vmalloc()" approach actually solves all these issues. The memory is visible to the rest of the system (few things care about it right now, but it _is_ accounted for and things like /dev/kmem will actually see it etc). And the vmalloc() approach is even portable, so one of the two phases is something that is totally generic (and the second phase is almost totally architecture-dependent anyway). 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/