lkml.org 
[lkml]   [2012]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    SubjectRe: Plumbers: Tweaking scheduler policy micro-conf RFP
    From
    Date
    On Tue, 2012-05-15 at 14:23 +0200, Peter Zijlstra wrote:
    > -#else /* (CONFIG_SCHED_MC || CONFIG_SCHED_SMT) */
    > static inline int find_new_ilb(int call_cpu)
    > {
    > return nr_cpu_ids;
    > }
    > -#endif

    That was missing a hunk...

    --- a/kernel/sched/fair.c
    +++ b/kernel/sched/fair.c
    @@ -4524,6 +4524,11 @@ static struct {

    static inline int find_new_ilb(int call_cpu)
    {
    + int ilb = cpumask_first(nohz.idle_cpus_mask);
    +
    + if (ilb < nr_cpu_ids && idle_cpu(ilb))
    + return ilb;
    +
    return nr_cpu_ids;
    }



    \
     
     \ /
      Last update: 2012-05-15 15:21    [W:0.023 / U:0.276 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site