From: Oleg Nesterov Date: Thu, 14 Nov 2013 11:56:18 +0000 (+0100) Subject: workqueue: swap set_cpus_allowed_ptr() and PF_NO_SETAFFINITY X-Git-Tag: v3.13-rc2~4^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91151228065354a050fd0d190aefdd662a0580aa;p=pandora-kernel.git 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 Signed-off-by: Tejun Heo --- Reading git-diff-tree failed