summaryrefslogtreecommitdiff
path: root/crypto/cast5.c
diff options
context:
space:
mode:
authorCon Kolivas <kernel@kolivas.org>2005-11-09 05:38:55 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 15:56:32 (GMT)
commitb910472dd3b7c1d51af9a594a759f642520c33e1 (patch)
treecf2f0496b671bf8728f16b009c84e8811afbcae3 /crypto/cast5.c
parentb54134be53be720da423692665ec215eb14a678b (diff)
downloadlinux-fsl-qoriq-b910472dd3b7c1d51af9a594a759f642520c33e1.tar.xz
[PATCH] sched: implement nice support across physical cpus on SMP
This patch implements 'nice' support across physical cpus on SMP. It introduces an extra runqueue variable prio_bias which is the sum of the (inverted) static priorities of all the tasks on the runqueue. This is then used to bias busy rebalancing between runqueues to obtain good distribution of tasks of different nice values. By biasing the balancing only during busy rebalancing we can avoid having any significant loss of throughput by not affecting the carefully tuned idle balancing already in place. If all tasks are running at the same nice level this code should also have minimal effect. The code is optimised out in the !CONFIG_SMP case. Signed-off-by: Con Kolivas <kernel@kolivas.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'crypto/cast5.c')
0 files changed, 0 insertions, 0 deletions