Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 083502ac authored by Oleg Nesterov's avatar Oleg Nesterov Committed by alexax66
Browse files

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: default avatarOleg Nesterov <oleg@redhat.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>

Original commit: https://github.com/mythos234/SimplKernel-LL-G925F/commit/af2524799757f92783fa7cf63927cee71bf7cb27
parent 93f331be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment