lkml.org 
[lkml]   [2007]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH][for -mm] per-zone and reclaim enhancements for memory controller take 3 [3/10] per-zone active inactive counter
    On Thu, 29 Nov 2007 11:24:06 +0900
    KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:

    > On Thu, 29 Nov 2007 10:37:02 +0900
    > KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:
    >
    > > Maybe zonelists of NODE_DATA() is not initialized. you are right.
    > > I think N_HIGH_MEMORY will be suitable here...(I'll consider node-hotplug case later.)
    > >
    > > Thank you for test!
    > >
    > Could you try this ?
    >
    Sorry..this can be a workaround but I noticed I miss something..

    ok, just use N_HIGH_MEMORY here and add comment for hotplugging support is not yet.

    Christoph-san, Lee-san, could you confirm following ?

    - when SLAB is used, kmalloc_node() against offline node will success.
    - when SLUB is used, kmalloc_node() against offline node will panic.

    Then, the caller should take care that node is online before kmalloc().

    Regards,
    -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-11-29 04:19    [W:0.021 / U:92.300 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site