summaryrefslogtreecommitdiff
path: root/kernel/sched/stats.h
diff options
context:
space:
mode:
authorYafang Shao <laoar.shao@gmail.com>2021-09-05 14:35:40 +0000
committerPeter Zijlstra <peterz@infradead.org>2021-10-05 15:51:44 +0200
commita2dcb276ff9287fcea103ca1a2436383e8583751 (patch)
tree2ec1256aeb0d12b20573153199b1bac925903caa /kernel/sched/stats.h
parent1c36432b278cecf1499f21fae19836e614954309 (diff)
sched/fair: Use __schedstat_set() in set_next_entity()
schedstat_enabled() has been already checked, so we can use __schedstat_set() directly. Signed-off-by: Yafang Shao <laoar.shao@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Mel Gorman <mgorman@suse.de> Link: https://lore.kernel.org/r/20210905143547.4668-2-laoar.shao@gmail.com
Diffstat (limited to 'kernel/sched/stats.h')
0 files changed, 0 insertions, 0 deletions