summaryrefslogtreecommitdiff
path: root/include/linux/threads.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2017-03-28 12:08:20 +0300
committerIngo Molnar <mingo@kernel.org>2017-03-30 10:43:40 +0300
commit0ccb977f4c80b921a8bf6a2c4b8ea0c1fed6553c (patch)
tree14f5c8b236cc952c667b1608931913820c768e7e /include/linux/threads.h
parent05b40e057734811ce452344fb3690d09965a7b6a (diff)
downloadlinux-0ccb977f4c80b921a8bf6a2c4b8ea0c1fed6553c.tar.xz
sched/fair: Explicitly generate __update_load_avg() instances
The __update_load_avg() function is an __always_inline because its used with constant propagation to generate different variants of the code without having to duplicate it (which would be prone to bugs). Explicitly instantiate the 3 variants. Note that most of this is called from rather hot paths, so reducing branches is good. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/threads.h')
0 files changed, 0 insertions, 0 deletions