lkml.org 
[lkml]   [2010]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 17/35] sparsemem: put mem map for one node together.
    On Tue, 09 Feb 2010 11:32:28 -0800
    Yinghai Lu <yinghai@kernel.org> wrote:

    > +#ifdef CONFIG_NO_BOOTMEM
    > + free_early(__pa(vmemmap_buf_start), __pa(vmemmap_buf_end));
    > + if (vmemmap_buf_start < vmemmap_buf) {
    > + char name[15];
    > +
    > + memset(name, 0, sizeof(name));

    Is the memset actually needed?

    > + snprintf(name, 15, "MEMMAP %d", nodeid);

    s/15/sizeof(name)/

    > + reserve_early_without_check(__pa(vmemmap_buf_start),
    > + __pa(vmemmap_buf), name);
    > + }
    > +#else


    \
     
     \ /
      Last update: 2010-02-09 21:25    [W:0.025 / U:29.536 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site