Re: [PATCH]: exec: avoid propagating PF_NO_SETAFFINITY intouserspace child

From: Tejun Heo
Date: Wed Nov 27 2013 - 13:31:27 EST


On Wed, Nov 27, 2013 at 10:07:03AM +0800, zhang.yi20@xxxxxxxxxx wrote:
> 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@xxxxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

cc'ing Ingo and Peter. Ingo, I think this one doesn't really suit the
workqueue tree. Can you please pick this one up w/ Oleg's ack added
and stable cc'd? The original patch is

http://article.gmane.org/gmane.linux.kernel/1602429/raw

Thanks!

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/