From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161498AbXDWTmI (ORCPT ); Mon, 23 Apr 2007 15:42:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161490AbXDWTmH (ORCPT ); Mon, 23 Apr 2007 15:42:07 -0400 Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:52985 "EHLO ebiederm.dsl.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161498AbXDWTmG (ORCPT ); Mon, 23 Apr 2007 15:42:06 -0400 From: ebiederm@xmission.com (Eric W. Biederman) To: Jeremy Fitzhardinge Cc: "H. Peter Anvin" , Jeremy Fitzhardinge , lkml , Chris Wright , virtualization@lists.osdl.org, Chuck Ebbert , Andrew Morton , Linus Torvalds Subject: Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings References: <20070414204154.871250608@goop.org> <200704192250.52633.ak@suse.de> <4627D756.5020405@zytor.com> <200704192304.01053.ak@suse.de> <4627DB0C.2010804@zytor.com> <4627DDAD.4070805@redhat.com> <4627E099.209@goop.org> <462CE027.4030302@goop.org> <462CE1E0.9060007@zytor.com> <462CF5B8.4070708@xensource.com> <462D04B2.6080008@goop.org> <462D05A0.1020100@zytor.com> <462D072F.6030809@goop.org> Date: Mon, 23 Apr 2007 13:39:41 -0600 In-Reply-To: <462D072F.6030809@goop.org> (Jeremy Fitzhardinge's message of "Mon, 23 Apr 2007 12:21:19 -0700") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) 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 Jeremy Fitzhardinge writes: > H. Peter Anvin wrote: >> It would be *trivial* to make a certain number of page table slots >> available at the end of the head.S-generated map. > > Or you could use a fixmap. That certain number of page table slots should be the fixmap slots. If you do that bt_ioremap works, we remove a boatload of special cases and the code becomes simpler. Eric