Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763754AbYCDKln (ORCPT ); Tue, 4 Mar 2008 05:41:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756210AbYCDKld (ORCPT ); Tue, 4 Mar 2008 05:41:33 -0500 Received: from mx2.suse.de ([195.135.220.15]:56401 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756186AbYCDKld (ORCPT ); Tue, 4 Mar 2008 05:41:33 -0500 From: Andi Kleen Organization: SUSE Linux Products GmbH, Nuernberg, GF: Markus Rex, HRB 16746 (AG Nuernberg) To: "Huang, Ying" Subject: Re: early_res and find_e820_area for i386? Date: Tue, 4 Mar 2008 11:41:28 +0100 User-Agent: KMail/1.9.6 Cc: "H. Peter Anvin" , Ingo Molnar , Thomas Gleixner , linux-kernel@vger.kernel.org References: <1204601883.4707.96.camel@caritas-dev.intel.com> In-Reply-To: <1204601883.4707.96.camel@caritas-dev.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803041141.28404.ak@suse.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1029 Lines: 23 On Tuesday 04 March 2008 04:38:03 Huang, Ying wrote: > Is it better to implement early_res and find_e820_area on i386? Can we > trust E820 table on i386? The 64bit code is certainly more flexible and cleaner, but also much more complicated.. But on the other hand i386 has simpler requirements so it didn't really need the full power. I didn't think that had changed. The key change if you wanted to do that would be to change all the unsigned longs to pfns -- the 64bit code is not all together 32bit clean. Or perhaps better pfns + page offset since some of the allocations don't need to be page aligned and would waste memory if they were forced to pfns. An alternative might be to use the new allocators only for <4GB on i386 and keep handling >4GB in some other way. -Andi -- 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/