Re: [patch] new-context balancing, 2.6.5-rc3-mm1

Nick Piggin
2004-03-31T02:30:15Z

Ingo Molnar wrote:
> i've attached sched-balance-context.patch, which is the current version
> of fork()/clone() balancing, against 2.6.5-rc3-mm1.
>
> Changes:
>
> - only balance CLONE_VM threads
>
> - take ->cpus_allowed into account when balancing.
>
> i've checked kernel recompiles and while they didnt hurt from fork()
> balancing on an 8-way SMP box, i implemented the thread-only balancing
> nevertheless.

You'd probably want to be testing on a NUMA to bring out any
problems.