sched: use constants if !CONFIG_SCHED_DEBUG
use constants if !CONFIG_SCHED_DEBUG.
this speeds up the code and reduces code-size:
text data bss dec hex filename
27464 3014 16 30494 771e sched.o.before
26929 3010 20 29959 7507 sched.o.after
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>
Loading
Please register or sign in to comment