lkml.org 
[lkml]   [2008]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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


    \
     
     \ /
      Last update: 2008-03-21 13:07    [W:0.035 / U:62.024 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site