Skip to content
Snippets Groups Projects
Commit ad16a460 authored by Oleg Nesterov's avatar Oleg Nesterov Committed by Linus Torvalds
Browse files

handle_stop_signal: use the cached p->signal value


Cache the value of p->signal, and change the code to use while_each_thread()
helper.

Signed-off-by: default avatarOleg Nesterov <oleg@tv-sign.ru>
Cc: Roland McGrath <roland@redhat.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent fc321d2e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment