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

From: Peter Zijlstra
Date: Thu Nov 28 2013 - 09:55:23 EST


On Thu, Nov 28, 2013 at 09:38:48AM -0500, Tejun Heo wrote:
> Hah? No, we do not want to allow userland to be able to set
> affinities on any workqueue workers, period. That's just inviting
> people to do weirdest things and then reporting things like "crypt
> jobs on some of our 500 machines end up stuck on a single cpu once in
> a while" which will eventually be tracked down to some weird shell
> script setting affinity on workers doing something else.

Because that is exactly what some users desire? Some RT and HPC people
want all those crypt jobs to run on a few designated cpus and not wreck
their compute jobs.
--
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/