lkml.org 
[lkml]   [2011]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v3] mm: make expand_downwards symmetrical to expand_upwards
    Date
    > On Thu, 21 Apr 2011, KOSAKI Motohiro wrote:
    >
    > > ia64 and mips have CONFIG_ARCH_POPULATES_NODE_MAP and it initialize
    > > N_NORMAL_MEMORY automatically if my understand is correct.
    > > (plz see free_area_init_nodes)
    > >
    >
    > ia64 doesn't enable CONFIG_HIGHMEM, so it never gets set via this generic
    > code; mips also doesn't enable it for all configs even for 32-bit.
    >
    > So we'll either want to take check_for_regular_memory() out from under
    > CONFIG_HIGHMEM and do it for all configs or teach slub to use
    > N_HIGH_MEMORY rather than N_NORMAL_MEMORY.

    Hey, I already told this thing.

    If CONFIG_HIGHMEM=n, N_HIGH_MEMORY and N_NORMAL_MEMORY are share the
    same value. then,
    node_set_state(nid, N_HIGH_MEMORY) in free_area_init_nodes()

    mean set both N_HIGH_MEMORY and N_NORMAL_MEMORY.




    \
     
     \ /
      Last update: 2011-04-22 02:37    [W:0.024 / U:30.476 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site