Messages in this thread | | | Date | Fri, 3 Jun 2011 22:38:36 +0800 | Subject | Re: [PATCH] sched: fix conflict of schedule domain balance in RT scheduling | From | Hillf Danton <> |
| |
On Thu, Jun 2, 2011 at 7:56 PM, Peter Zijlstra <peterz@infradead.org> wrote: > On Wed, 2011-06-01 at 21:58 +0800, Hillf Danton wrote: >> SD_BALANCE_WAKE and SD_WAKE_AFFINE are defined to be mutually >> exclusive > > Uhm, no they're not.. both affect placement of a woken task but they're > complementary. WAKE_AFFINE is a check to see if it makes sense to run > the woken task on the same cpu as the wakee, BALANCE_WAKE does a full > load-balance pass,
Though I dont understand the following, my question is why WAKE_AFFINE is eligible for pushing RT tasks off the RQ on which they are waiting.
thanks Hillf
>in case its combined with WAKE_AFFINE it does so in > case that test is negative. >
| |