Re: [patch] reduce stack usage of sanitize_e820_map

From: Eric W. Biederman (ebiederm@xmission.com)
Date: Sat Aug 17 2002 - 12:18:11 EST


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



This archive was generated by hypermail 2b29 : Fri Aug 23 2002 - 22:00:13 EST