lkml.org 
[lkml]   [2008]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] vmallocinfo: Add NUMA informations
    > >> +		for (nr = 0; nr < MAX_NUMNODES; nr++)
    > >> + if (counters[nr])
    > >> + seq_printf(m, " N%u=%u", nr, counters[nr]);
    > >
    > > for_each_node_state(n, N_HIGH_MEMORY) is better?
    > > because MAX_NUMNODES has offten very large value.
    > >
    > Yes, good idea, thank you.
    >
    > I also used nr_node_ids instead of MAX_NUMNODES in this second version :

    Thank you! looks goot to me.
    and, my test fouund no bug.

    Tested-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>


    Cristoph, What do you think?





    \
     
     \ /
      Last update: 2008-06-03 06:55    [W:0.021 / U:37.472 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site