]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/sched_fair.c
Merge branch 'sched/urgent' into sched/core
[net-next-2.6.git] / kernel / sched_fair.c
index 0e7a7af9cf8bfe560fdd0e99e95565cbdbb7227e..b45abbe5506793fbb063c21b4c6763bdb8f28de4 100644 (file)
@@ -1509,7 +1509,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) {