lkml.org 
[lkml]   [2008]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-07-16 09:17    [W:0.029 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site