lkml.org 
[lkml]   [2005]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[RFC][PATCH 3/4] build_zonelists() unification: don't re-zero zonelist
    From
    Date

    The pgdats, and thus the zonelists are either statically
    allocated in BSS, cleared by the bootmem allocator, or
    cleared by arch code such as remapped_pgdat_init(). There
    is no need to re-zero them here

    Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
    ---

    memhotplug-dave/mm/page_alloc.c | 6 ------
    1 files changed, 6 deletions(-)

    diff -puN mm/page_alloc.c~B1.2-build_zonelists_unification mm/page_alloc.c
    --- memhotplug/mm/page_alloc.c~B1.2-build_zonelists_unification 2005-09-14 09:32:38.000000000 -0700
    +++ memhotplug-dave/mm/page_alloc.c 2005-09-14 09:32:38.000000000 -0700
    @@ -1549,12 +1549,6 @@ static void __init build_zonelists(pg_da
    struct zonelist *zonelist;
    nodemask_t used_mask;

    - /* initialize zonelists */
    - for (i = 0; i < GFP_ZONETYPES; i++) {
    - zonelist = pgdat->node_zonelists + i;
    - zonelist->zones[0] = NULL;
    - }
    -
    /* NUMA-aware ordering of nodes */
    local_node = pgdat->node_id;
    load = num_online_nodes();
    _
    -
    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: 2005-09-20 19:26    [W:0.022 / U:33.720 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site