[lkml]   [2008]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] x86_64: allcate e820 resource struct all together

    * Yinghai Lu <> 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.)


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