[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1154493226.2570.50.camel@localhost.localdomain>
Date: Wed, 02 Aug 2006 14:33:45 +1000
From: Rusty Russell <rusty@...tcorp.com.au>
To: Andi Kleen <ak@...e.de>
Cc: Andrew Morton <akpm@...l.org>,
Xen-devel <xen-devel@...ts.xensource.com>,
Ian Pratt <ian.pratt@...source.com>,
Linux Kernel <linux-kernel@...r.kernel.org>,
Chris Wright <chrisw@...s-sol.org>,
virtualization@...ts.osdl.org,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Christoph Lameter <clameter@....com>
Subject: Re: [Xen-devel] Re: [PATCH 8 of 13] Add a bootparameter to reserve
high linear address space for hypervisors
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists