Re: [patch] reduce stack usage of sanitize_e820_map

Eric W. Biederman
2002-08-17T17:27:21Z

Benjamin LaHaise <bcrl@redhat.com> writes:

> Hello,
>
> Currently, sanitize_e820_map uses 0x738 bytes of stack. The patch below
> moves the arrays into __initdata, reducing stack usage to 0x34 bytes.

Can we keep the arrays in sanitize_e820_map and just mark then static
and __initdata? That would appear to be a cleaner solution.
Polluting the global kernel name space with these is not nice.

Eric