diff options
| author | Christoph Lameter <[email protected]> | 2006-12-10 02:20:22 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-12-10 09:55:42 -0800 |
| commit | 7835b98bc6de2ca10afa45572d272304b000b048 (patch) | |
| tree | 6c029f271821b00d18f5f318526b80511b409838 /include/linux | |
| parent | fe2eea3fafb3df2f5b8a55a48bcbb0d23b3b5618 (diff) | |
[PATCH] sched: extract load calculation from rebalance_tick
A load calculation is always done in rebalance_tick() in addition to the real
load balancing activities that only take place when certain jiffie counts have
been reached. Move that processing into a separate function and call it
directly from scheduler_tick().
Also extract the time slice handling from scheduler_tick and put it into a
separate function. Then we can clean up scheduler_tick significantly. It
will no longer have any gotos.
Signed-off-by: Christoph Lameter <[email protected]>
Cc: Peter Williams <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: "Siddha, Suresh B" <[email protected]>
Cc: "Chen, Kenneth W" <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions