lkml.org 
[lkml]   [2007]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC] [PATCH] more support for memory-less-node.
    On Tue, 13 Feb 2007 09:29:49 +0100
    Andi Kleen <andi@firstfloor.org> wrote:

    >
    > > In my understanding, a "node" is a block of cpu, memory, devices.
    > > and there could be cpu-only-node, memory-only-node, device-only-node...
    >
    > The trouble with this is that you'll need to harden large parts
    > of code against these. Especially a NULL pgdat is something quite
    > dangerous. You could make it a dummy empty pgdat, but just assigning it
    > nearby seems easier.

    Ah...It seems I didn't explain enough.

    Now, memorly-less-node has its own pgdat, for its own zonelist.
    All *online* node has its own NODA_DATA(nid).

    NOD_DATA(nid) is always valid pointer if a node is online.
    NODE_DATA(nid)->present_pages can be 0 even if a node is online,
    I call this as memory-less-node.

    Thanks,
    -Kame


    -
    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/

    \
     
     \ /
      Last update: 2007-02-13 09:43    [W:0.022 / U:58.664 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site