diff options
author | 2014-01-23 15:55:57 -0800 | |
---|---|---|
committer | 2014-01-23 16:37:02 -0800 | |
commit | b88fae644e5e3922251a4b242f435f5e3b49c381 (patch) | |
tree | 98bfd036a6df9cad49cb58a372a4fe94d89e7f5a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | kernel/signal.c: change do_signal_stop/do_sigaction to use while_each_thread() (diff) | |
download | linux-dev-b88fae644e5e3922251a4b242f435f5e3b49c381.tar.xz linux-dev-b88fae644e5e3922251a4b242f435f5e3b49c381.zip |
exec: avoid propagating PF_NO_SETAFFINITY into userspace child
Userspace process doesn't want the PF_NO_SETAFFINITY, but its parent may be
a kernel worker thread which has PF_NO_SETAFFINITY set, and this worker thread
can do kernel_thread() to create the child.
Clearing this flag in usersapce child to enable its migrating capability.
Signed-off-by: Zhang Yi <zhang.yi20@zte.com.cn>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions