summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorValentin Schneider <valentin.schneider@arm.com>2019-07-15 11:25:07 +0100
committerIngo Molnar <mingo@kernel.org>2019-07-25 15:51:51 +0200
commitb34920d4ce6e6fc9424c20a4be98676eb543122f (patch)
treec6292e5bb17d82ae7d3929e11f07a6732b03f79a /tools/perf/scripts/python
parentd35927a144641700c8328d707d1c89d305b4ecb8 (diff)
sched/fair: Move task_numa_work() init to init_numa_balancing()
We only need to set the callback_head worker function once, do it during sched_fork(). While at it, move the comment regarding double task_work addition to init_numa_balancing(), since the double add sentinel is first set there. Suggested-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Valentin Schneider <valentin.schneider@arm.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: mgorman@suse.de Cc: riel@surriel.com Link: https://lkml.kernel.org/r/20190715102508.32434-3-valentin.schneider@arm.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions