|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] Re: [PATCH 8 of 13] Add a bootparameter to reserve	high 
 
| 
To:  | 
Andi Kleen <ak@xxxxxxx> | 
 
| 
Subject:  | 
Re: [Xen-devel] Re: [PATCH 8 of 13] Add a bootparameter to reserve	high linear address space for hypervisors | 
 
| 
From:  | 
Rusty Russell <rusty@xxxxxxxxxxxxxxx> | 
 
| 
Date:  | 
Wed, 02 Aug 2006 14:33:45 +1000 | 
 
| 
Cc:  | 
Andrew Morton <akpm@xxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>,	virtualization@xxxxxxxxxxxxxx, Linux Kernel <linux-kernel@xxxxxxxxxxxxxxx>,	Chris Wright <chrisw@xxxxxxxxxxxx>, Ian Pratt <ian.pratt@xxxxxxxxxxxxx>,	"Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>,	Christoph Lameter <clameter@xxxxxxx> | 
 
| 
Delivery-date:  | 
Tue, 01 Aug 2006 21:34:12 -0700 | 
 
| 
Envelope-to:  | 
www-data@xxxxxxxxxxxxxxxxxx | 
 
| 
In-reply-to:  | 
<200608020621.22827.ak@xxxxxxx> | 
 
| 
List-help:  | 
<mailto:xen-devel-request@lists.xensource.com?subject=help> | 
 
| 
List-id:  | 
Xen developer discussion <xen-devel.lists.xensource.com> | 
 
| 
List-post:  | 
<mailto:xen-devel@lists.xensource.com> | 
 
| 
List-subscribe:  | 
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>,	<mailto:xen-devel-request@lists.xensource.com?subject=subscribe> | 
 
| 
List-unsubscribe:  | 
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>,	<mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> | 
 
| 
References:  | 
<0adfc39039c79e4f4121.1154462446@ezr>	<p73lkq7zvu3.fsf@xxxxxxxxxxxxx>	<1154490840.2570.37.camel@xxxxxxxxxxxxxxxxxxxxx>	<200608020621.22827.ak@xxxxxxx> | 
 
| 
Sender:  | 
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx | 
 
 
 
On Wed, 2006-08-02 at 06:21 +0200, Andi Kleen wrote:
> >     I think you misunderstand the purpose of parse_early_param?  It is
> > designed to be called directly by the arch at some point (it is
> > idempotent, so the second call in init/main.c does nothing if the arch
> > has called it).  ie. in i386, it replaces parse_cmdline_early().
> 
> Ah I didn't realize that. But why is there a second call in init/main.c?  
> Looks like a big hack to me. Someone was too lazy to add it to all 
> architectures?
Yes.  Someone == me.  I didn't want to hack it into all archs, I wanted
archs to actually use it, and you can see that's not a trivial patch...
Once all archs use it, we can probably clean up setup_arch() not to take
the char** and simply use the global saved_command_line directly.  At
this rate, that'll be around 2012 8)
Rusty.
-- 
Help! Save Australia from the worst of the DMCA: http://linux.org.au/law
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-devel] Re: [PATCH 12 of 13] Pass the mm struct into the	pgd_free code so the mm is available here, (continued)
 
 
[Xen-devel] [PATCH 3 of 13] Implement always-locked bit ops,	for memory shared with an SMP hypervisor, Jeremy Fitzhardinge
[Xen-devel] [PATCH 8 of 13] Add a bootparameter to reserve high	linear address space for hypervisors, Jeremy Fitzhardinge
- [Xen-devel] Re: [PATCH 8 of 13] Add a bootparameter to reserve high	linear address space for hypervisors, Andi Kleen
- [Xen-devel] Re: [PATCH 8 of 13] Add a bootparameter to reserve high	linear address space for hypervisors, Rusty Russell
 - [Xen-devel] Re: [PATCH 8 of 13] Add a bootparameter to reserve high	linear address space for hypervisors, Andi Kleen
 - Re: [Xen-devel] Re: [PATCH 8 of 13] Add a bootparameter to reserve	high linear address space for hypervisors, Rusty Russell
 - Re: [Xen-devel] Re: [PATCH 8 of 13] Add a bootparameter to reserve	high linear address space for hypervisors, Andi Kleen
 - Re: [Xen-devel] Re: [PATCH 8 of 13] Add a bootparameter to reserve	high linear address space for hypervisors,
Rusty Russell <=
 - Re: [Xen-devel] Re: [PATCH 8 of 13] Add a bootparameter to reserve	high linear address space for hypervisors, Andi Kleen
 - Re: [Xen-devel] Re: [PATCH 8 of 13] Add a bootparameter to reserve	high linear address space for hypervisors, Rusty Russell
 - Re: [Xen-devel] Re: [PATCH 8 of 13] Add a bootparameter to reserve	high linear address space for hypervisors, Andi Kleen
 - [Xen-devel] [PATCH 1/2] Allow early_param and identical __setup to	exist, Rusty Russell
 
- [Xen-devel] [PATCH 2/2] Replace i386 open-coded cmdline parsing with	early_param/parse_early_param, Rusty Russell
 - [Xen-devel] Re: [PATCH 2/2] Replace i386 open-coded cmdline parsing	with early_param/parse_early_param, Andi Kleen
 
  
 
[Xen-devel] [PATCH 7 of 13] Make __FIXADDR_TOP variable to allow it	to make space for a hypervisor, Jeremy Fitzhardinge
[Xen-devel] [PATCH 6 of 13] Roll all the cpuid asm into one __cpuid	call, Jeremy Fitzhardinge
[Xen-devel] Re: [PATCH 0 of 13] Basic infrastructure patches for a	paravirtualized kernel, Andi Kleen
 |  
  
 | 
    | 
  
  
    |   | 
    |