| commit | 1e819950660e6a811b549422ffb652273257e45e | [log] [tgz] |
|---|---|---|
| author | Ingo Molnar <mingo@elte.hu> | Mon Oct 15 17:00:13 2007 +0200 |
| committer | Ingo Molnar <mingo@elte.hu> | Mon Oct 15 17:00:13 2007 +0200 |
| tree | 86bd6a49002d97de371c7e89a184a8b44c02b8d7 | |
| parent | 08ec3df5109e0555da5b9deb4382fd29733c852c [diff] |
sched: optimize schedule() a bit on SMP
optimize schedule() a bit on SMP, by moving the rq-clock update
outside the rq lock.
code size is the same:
text data bss dec hex filename
25725 2666 96 28487 6f47 sched.o.before
25725 2666 96 28487 6f47 sched.o.after
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>