Messages in this thread | | | Date | Wed, 16 Jul 2008 00:14:32 -0700 | From | "Paul Menage" <> | Subject | Re: [PATCH 1/3] cpuset: Don't pass empty cpumasks to partition_sched_domains() |
| |
On Tue, Jul 15, 2008 at 8:43 PM, Lai Jiangshan <laijs@cn.fujitsu.com> wrote: > i create a lots of empty cpusets(empty cpumasks) and > turn off the "sched_load_balance" in top cpuset. > > And i found that all these empty cpumasks are passed to > partition_sched_domains() in rebuild_sched_domains(), > it's very time-consuming for partition_sched_domains() > and it's not need. > > It also reduce memory consumed and some works in > rebuild_sched_domains() too. > > Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Acked-by: Paul Menage <menage@google.com>
Seems reasonable, and I don't think that it clashes with the other outstanding rebuild_sched_domains() patches.
Paul
| |