diff options
author | Oleg Nesterov <oleg@redhat.com> | 2014-12-10 15:55:14 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-10 17:41:17 -0800 |
commit | c9dc05bfdb3f7fd7c00f3cbd33816c99d2cb9029 (patch) | |
tree | 2b1f69634ca760afbb4585d5a6a37bc549cd5c7c /sound/drivers | |
parent | 1109909c7df08f55ff9104276bb9db1ee2e6e53d (diff) | |
download | linux-c9dc05bfdb3f7fd7c00f3cbd33816c99d2cb9029.tar.bz2 |
exit: reparent: introduce find_alive_thread()
Add the new simple helper to factor out the for_each_thread() code in
find_child_reaper() and find_new_reaper(). It can also simplify the
potential PF_EXITING -> exit_state change, plus perhaps we can change this
code to take SIGNAL_GROUP_EXIT into account.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Aaron Tomlin <atomlin@redhat.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Kay Sievers <kay@vrfy.org>
Cc: Lennart Poettering <lennart@poettering.net>
Cc: Sterling Alexander <stalexan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/drivers')
0 files changed, 0 insertions, 0 deletions