diff options
author | 2015-09-10 15:07:50 +0200 | |
---|---|---|
committer | 2015-09-12 11:54:27 +0200 | |
commit | a75a6068dac25d4022ebcd82192ed6345407843c (patch) | |
tree | a7cdae114427b720256d1e1576c375e4c2c90cd0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sched: 'Annotate' migrate_tasks() (diff) | |
download | linux-dev-a75a6068dac25d4022ebcd82192ed6345407843c.tar.xz linux-dev-a75a6068dac25d4022ebcd82192ed6345407843c.zip |
cpu/hotplug: Read_lock(tasklist_lock) doesn't need to disable irqs
check_for_tasks() doesn't need to disable irqs, recursive
read_lock() from interrupt is fine.
While at it, s/do_each_thread/for_each_process_thread/.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Kirill Tkhai <ktkhai@odin.com>
Reviewed-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Kirill Tkhai <ktkhai@parallels.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20150910130750.GA20055@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions