diff options
| author | Peter Zijlstra <[email protected]> | 2018-06-07 10:55:56 +0200 | 
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-07-03 09:20:44 +0200 | 
| commit | f83ee19be4272564ad592ef90145db7295229490 (patch) | |
| tree | 181bd1628e2b233cd9e3b44ac6e608c24b7f34b4 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 167a88677b05d6a810f23b871cfb2b5db1808e60 (diff) | |
kthread: Simplify kthread_park() completion
Oleg explains the reason we could hit park+park is that
smpboot_update_cpumask_percpu_thread()'s
  for_each_cpu_and(cpu, &tmp, cpu_online_mask)
	smpboot_park_kthread();
turns into:
  for ((cpu) = 0; (cpu) < 1; (cpu)++, (void)mask, (void)and)
	smpboot_park_kthread();
on UP, ignoring the mask. But since we just completely removed that
function, this is no longer relevant.
So revert commit:
  b1f5b378e126 ("kthread: Allow kthread_park() on a parked kthread")
Suggested-by: Oleg Nesterov <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions