]> git.baikalelectronics.ru Git - kernel.git/commit
sched: debug: update exec_clock only when SCHED_DEBUG
authorIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:06 +0000 (17:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:06 +0000 (17:00 +0200)
commitebfaa780ec3ee58d4c2d5aaa69556f336c9a98f7
treed7ac8019f7ed2f863040952ec7139c18ebd2c554
parentd27c664ef1e95fb5a0d10a3a0b587fb6af15fee5
sched: debug: update exec_clock only when SCHED_DEBUG

micro-optimization: update cfs_rq->exec_clock only if
CONFIG_SCHED_DEBUG=y.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Mike Galbraith <efault@gmx.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched_fair.c