|
@@ -1508,7 +1508,7 @@ static int select_task_rq_fair(struct task_struct *p, int sd_flag, int wake_flag
|
|
|
* If there's an idle sibling in this domain, make that
|
|
|
* the wake_affine target instead of the current cpu.
|
|
|
*/
|
|
|
- if (tmp->flags & SD_PREFER_SIBLING)
|
|
|
+ if (tmp->flags & SD_SHARE_PKG_RESOURCES)
|
|
|
target = select_idle_sibling(p, tmp, target);
|
|
|
|
|
|
if (target >= 0) {
|