diff for duplicates of <4868DCC7.BA47.005A.0@novell.com> diff --git a/a/1.txt b/N1/1.txt index b48bdee..b139da8 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -48,3 +48,23 @@ index f35d73c..f36406f 100644 - * and interrupts may occur. - */ - spin_unlock_irq(&this_rq->lock); +- + /* + * When power savings policy is enabled for the parent domain, idle + * sibling can pick up load irrespective of busy siblings. In this case, +@@ -3630,6 +3621,15 @@ load_balance_newidle(int this_cpu, struct rq *this_rq, struct sched_domain *sd, + + cpus_setall(*cpus); + ++ schedstat_inc(sd, lb_count[CPU_NEWLY_IDLE]); ++ ++ /* ++ * We are in a preempt-disabled section, so dropping the lock/irq ++ * here simply means that other cores may acquire the lock, ++ * and interrupts may occur. ++ */ ++ spin_unlock_irq(&this_rq->lock); ++ + /* + * When power savings policy is enabled for the parent domain, idle + * sibling can pick up load irrespective of busy siblings. In this case, diff --git a/a/content_digest b/N1/content_digest index 5aad0d2..fde067f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -60,6 +60,26 @@ "-\t * here simply means that other cores may acquire the lock,\n" "-\t * and interrupts may occur.\n" "-\t */\n" - "-\tspin_unlock_irq(&this_rq->lock);" + "-\tspin_unlock_irq(&this_rq->lock);\n" + "-\n" + " \t/*\n" + " \t * When power savings policy is enabled for the parent domain, idle\n" + " \t * sibling can pick up load irrespective of busy siblings. In this case,\n" + "@@ -3630,6 +3621,15 @@ load_balance_newidle(int this_cpu, struct rq *this_rq, struct sched_domain *sd,\n" + " \n" + " \tcpus_setall(*cpus);\n" + " \n" + "+\tschedstat_inc(sd, lb_count[CPU_NEWLY_IDLE]);\n" + "+\n" + "+\t/*\n" + "+\t * We are in a preempt-disabled section, so dropping the lock/irq\n" + "+\t * here simply means that other cores may acquire the lock,\n" + "+\t * and interrupts may occur.\n" + "+\t */\n" + "+\tspin_unlock_irq(&this_rq->lock);\n" + "+\n" + " \t/*\n" + " \t * When power savings policy is enabled for the parent domain, idle\n" + " \t * sibling can pick up load irrespective of busy siblings. In this case," -7c7f5f059da21ed3d884067c2c9ff41c43bd1d2f6cdbc2442f7121b2339fff2b +300cd7d30c8eb6f4ed360907b4a83c8fa23861a14b29764ec296533a18f38fc8
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.