lkml.org 
[lkml]   [2011]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFT][PATCH] sched, cgroup: Optimize load_balance_fair()
    From
    Date
    On Wed, 2011-07-13 at 10:13 -0700, Paul Turner wrote:
    > > +static void update_h_load(long cpu)
    > > +{
    > > + walk_tg_tree(tg_load_down, tg_nop, (void *)cpu);
    > > +}
    >
    > With a list_for_each_entry_reverse_rcu() this could also only operate
    > on the local hierarchy and avoid the tg tree walk.

    Ah, sadly that primitive cannot exist, rcu list primitives only keeps
    the fwd link.

    Although I guess we could 'fix' that.


    \
     
     \ /
      Last update: 2011-07-13 23:03    [W:0.021 / U:31.292 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site