diff options
author | Peter Zijlstra <peterz@infradead.org> | 2018-01-16 22:51:06 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-02-06 12:20:31 +0300 |
commit | b85c8b71bf8de36a88f338f406f02a8cb48c5c3b (patch) | |
tree | d9df9a5f4ad7b07e139adeb9655adabb010cf675 /lib/fdt_ro.c | |
parent | 460e8c3340a265d1d70fa1ee05c42afd68b2efa0 (diff) | |
download | linux-b85c8b71bf8de36a88f338f406f02a8cb48c5c3b.tar.xz |
sched/core: Optimize ttwu_stat()
The whole of ttwu_stat() is guarded by a single schedstat_enabled(),
there is absolutely no point in then issuing another static_branch for
every single schedstat_inc() in there.
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 'lib/fdt_ro.c')
0 files changed, 0 insertions, 0 deletions