Messages in this thread | | | Date | Fri, 21 Mar 2008 13:04:04 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH] x86_64: allcate e820 resource struct all together |
| |
* Yinghai Lu <yhlu.kernel.send@gmail.com> wrote:
> don't need to allocate that one by one
> + struct resource *res; > + res = alloc_bootmem_low(sizeof(struct resource) * e820.nr_map);
nice one - applied.
(minor style nit: please keep a newline between variable definitions and the first line of code, to make it a bit more readable.)
Ingo
| |