]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sched: Fix vmark regression on big machines
authorMike Galbraith <efault@gmx.de>
Mon, 4 Jan 2010 13:44:56 +0000 (14:44 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:18:11 +0000 (13:18 -0700)
commitb971284b4af79650f4d7f4caae21c824be3dd7fb
tree2570a7b13b79607b65954fc512c5cfd0fa71be1d
parent81c8021a88266324db40cb2e6691fc5ddc67034a
sched: Fix vmark regression on big machines

commit 50b926e439620c469565e8be0f28be78f5fca1ce upstream

SD_PREFER_SIBLING is set at the CPU domain level if power saving isn't
enabled, leading to many cache misses on large machines as we traverse
looking for an idle shared cache to wake to.  Change the enabler of
select_idle_sibling() to SD_SHARE_PKG_RESOURCES, and enable same at the
sibling domain level.

Reported-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1262612696.15495.15.camel@marge.simson.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/topology.h
kernel/sched_fair.c