diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2008-07-25 10:47:23 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 19:53:38 +0200 |
commit | c372e817afc629fea9ff6321313325ed0b4a855b (patch) | |
tree | 931188486a41a7923e4eb9b658a272b256b3c048 /kernel/mutex.h | |
parent | cpusets: update task's cpus_allowed and mems_allowed after CPU/NODE offline/o... (diff) | |
download | linux-c372e817afc629fea9ff6321313325ed0b4a855b.tar.xz linux-c372e817afc629fea9ff6321313325ed0b4a855b.zip |
cpuset: avoid unnecessary sched domains rebuilding
When changing 'sched_relax_domain_level', don't rebuild sched domains if
'cpus' is empty or 'sched_load_balance' is not set.
Also make the comments of rebuild_sched_domains() more readable.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Cc: Paul Jackson <pj@sgi.com>
Cc: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/mutex.h')
0 files changed, 0 insertions, 0 deletions