Re: [patch 1/22] Add __early_param for all arches

From: David Woodhouse
Date: Fri Mar 26 2004 - 16:17:10 EST


On Fri, 2004-03-26 at 21:03 +0000, Russell King wrote:
> So we require, in order:
>
> - mem= to be parsed
> - bootmem to be initialised
> - drivers which want to allocate from bootmem to then be
> initialised
> - setup rest of the kernel
> - final command line parsing
>
> which gives us three stages of command line parsing.

No, because the existing command line parsing doesn't get to use the
slab, so there's no need for us to add that final item in your list.

Leave it out, and you have what Tom's already implemented. The current
__setup() calls are allowed to use bootmem but not slab, and the
__early_param() calls aren't even allowed to use bootmem.

--
dwmw2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/