[lkml]   [2007]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] cpuset and sched domains: sched_load_balance flag

* Paul Jackson <> wrote:

> Add a new per-cpuset flag called 'sched_load_balance'.
> When enabled in a cpuset (the default value) it tells the kernel
> scheduler that the scheduler should provide the normal load balancing
> on the CPUs in that cpuset, sometimes moving tasks from one CPU to a
> second CPU if the second CPU is less loaded and if that task is
> allowed to run there.
> When disabled (write "0" to the file) then it tells the kernel
> scheduler that load balancing is not required for the CPUs in that
> cpuset.

i like this, this feature would be quite useful for -rt and CPU

( a cpuset is a mandatory container for set_cpus_allowed(), so there is
a material and app-visible difference between a 4-CPU cpuset that has
balancing disabled and 4x 1-CPU cpusets. )

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-09-30 19:37    [W:0.096 / U:3.120 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site