summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2018-01-23 20:34:30 +0100
committerIngo Molnar <mingo@kernel.org>2018-02-06 10:20:32 +0100
commit2ed41a55023dc5be6742ca0eb8df5cb20e8dcaae (patch)
tree86d013760b261d3b2c134bfc1e9b5e638b1a013b /tools
parentb85c8b71bf8de36a88f338f406f02a8cb48c5c3b (diff)
sched/core: Optimize update_stats_*()
These functions are already gated by schedstats_enabled(), there is no point in then issuing another static_branch for every individual update in them. 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 'tools')
0 files changed, 0 insertions, 0 deletions