Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932237AbWBBUzz (ORCPT ); Thu, 2 Feb 2006 15:55:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932243AbWBBUzz (ORCPT ); Thu, 2 Feb 2006 15:55:55 -0500 Received: from linux01.gwdg.de ([134.76.13.21]:1480 "EHLO linux01.gwdg.de") by vger.kernel.org with ESMTP id S932240AbWBBUzy (ORCPT ); Thu, 2 Feb 2006 15:55:54 -0500 Date: Thu, 2 Feb 2006 21:55:34 +0100 (MET) From: Jan Engelhardt To: Ulrich Mueller cc: Herbert Poetzl , linux-kernel@vger.kernel.org, Mark Lord , Jens Axboe , Linus Torvalds , Byron Stanoszek , Ingo Molnar , Andrew Morton Subject: Re: [PATCH ] VMSPLIT config options (with default config fixed) In-Reply-To: Message-ID: References: <20060110132957.GA28666@elte.hu> <20060110133728.GB3389@suse.de> <20060110143931.GM3389@suse.de> <43C3E9C2.1000309@rtr.ca> <20060110173217.GU3389@suse.de> <43C3F0CA.10205@rtr.ca> <43C403BA.1050106@pobox.com> <43C40803.2000106@rtr.ca> <20060201222314.GA26081@MAIL.13thfloor.at> 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: 1708 Lines: 57 > >> glad to see that the linux kernel is now ready for the 'idea' >> I submitted a patch[1] for, more than a year ago -- which >> unfortunately went unnoticed back then ... BTW, I patched my local 2.6.16-rc1 with that patch and I run off VMSPLIT_3G_OPT quite well without problems. (Well, VMware gets it wrong, as usual, but nothing that I could not solved.) Even though I do not even have 1 G but just 768 ;-) This sort of testing reminds me of Linus's 100->1000 Hz change ("I chose 1000 originally partly as a way to make sure that people that assumed HZ was 100 would get a swift kick in the pants.") Could we also do that with VMSPLIT? ("Let's choose VMSPLIT_2G to make sure that i386-people that assumed PAGE_OFFSET was 0xC0000000 would get...") >Hm, I wonder if we could have a more fine-grained choice of the >boundary? There are also systems around with e.g. 1.25G or 1.5G of >main memory. > Maybe something like: config VMSPLIT_1G bool "1G/3G user/kernel split" config VMSPLIT_X bool "Manual split" endchoice config VMSPLIT_MANUAL depends on VMSPLIT_X hex default 0xC0000000 prompt "Memory split address (must be aligned to 4096)" And in include/asm/page.h: #ifdef CONFIG_VMSPLIT_MANUAL #define __PAGE_OFFSET ((unsigned long)CONFIG_VMSPLIT_MANUAL) #else #define __PAGE_OFFSET ((unsigned long)CONFIG_PAGE_OFFSET) #endif Not perfect, but a start. Jan Engelhardt -- - 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/