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

From: Russell King
Date: Fri Mar 26 2004 - 16:06:47 EST

On Fri, Mar 26, 2004 at 11:29:35AM +0000, David Woodhouse wrote:
> Drivers may require allocation (bootmem not slab). We want to run before
> that's feasible -- before 'mem=', by definition :)

It definitely wants to be after mem= since mem= modifies the memory
layout before bootmem is initialised (and its required to be parsed
before bootmem is initialised, so bootmem knows where the memory is.)

So we require, in order:

- mem= to be parsed
- bootmem to be initialised
- drivers which want to allocate from bootmem to then be
- setup rest of the kernel
- final command line parsing

which gives us three stages of command line parsing.

Russell King
Linux kernel 2.6 ARM Linux -
maintainer of: 2.6 PCMCIA -
2.6 Serial core
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at