Re: [PATCH 2/5] sched: add asymmetric packing option for sibling domain

2010-04-14 Thread Michael Neuling
! :-) This thing does need a better changelog though, and maybe a larger comment with check_asym_packing(), explaining why and what we're doing and what we're assuming (that lower cpu number also means lower thread number). OK, updated patch below... Mikey [PATCH 2/5] sched: add asymmetric

Re: [PATCH 2/5] sched: add asymmetric packing option for sibling domain

2010-04-13 Thread Peter Zijlstra
On Fri, 2010-04-09 at 16:21 +1000, Michael Neuling wrote: Peter: Since this is based mainly off your initial patch, it should have your signed-off-by too, but I didn't want to add without your permission. Can I add it? Of course! :-) This thing does need a better changelog though, and maybe

[PATCH 2/5] sched: add asymmetric packing option for sibling domain

2010-04-09 Thread Michael Neuling
Some CPUs perform better when tasks are run on lower thread numbers. In the case of POWER7, when higher threads are idled, the core can run in lower SMT modes and hence perform better. This creates a new sd flag to prefer lower threads. Based heavily on patch from Peter Zijlstra.