diff options
author | Oleg Nesterov <[email protected]> | 2014-09-21 21:33:41 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-09-24 14:47:04 +0200 |
commit | 5bd96ab6fef66ec6b9f54134364e618fd0f8f2f3 (patch) | |
tree | abb0e7787c12ea0a37e48277b0a6e8f11d21ce69 /net/lapb/lapb_subr.c | |
parent | 3472eaa1f12e217e2b8b0ef658ff861b2308cbbd (diff) |
sched: print_rq(): Don't use tasklist_lock
read_lock_irqsave(tasklist_lock) in print_rq() looks strange. We do
not need to disable irqs, and they are already disabled by the caller.
And afaics this lock buys nothing, we can rely on rcu_read_lock().
In this case it makes sense to also move rcu_read_lock/unlock from
the caller to print_rq().
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Kirill Tkhai <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions