commit | 91151228065354a050fd0d190aefdd662a0580aa | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Thu Nov 14 12:56:18 2013 +0100 |
committer | Tejun Heo <tj@kernel.org> | Fri Nov 22 18:13:20 2013 -0500 |
tree | f4c9dda9a0a9d114526463be9f4d2e6880483945 | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae [diff] |
workqueue: swap set_cpus_allowed_ptr() and PF_NO_SETAFFINITY Move the setting of PF_NO_SETAFFINITY up before set_cpus_allowed() in create_worker(). Otherwise userland can change ->cpus_allowed in between. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>