Messages in this thread | | | Date | Sun, 2 Oct 2011 18:22:44 -0700 | From | Tejun Heo <> | Subject | Re: [PATCH] sched/kthread: Complain loudly when others violate our flags |
| |
On Fri, Sep 30, 2011 at 11:27:45AM +0200, Peter Zijlstra wrote: > There is no correctness issue what so ever with those, and userspace > moving them about doesn't matter one whit.
I wanted to make it consistent and disallow diddling wq worker affinity from userland. As those workers are shared and managed dynamically, it didn't make sense to allow affinity manipulation. That said, it might make sense allowing control over affinity of unbound wq workers for things like cpu isolation. Userspace doing that per-worker doesn't make whole lot of sense. Allowing putting unbound workers automatically into a cpuset would work better, I think.
Thanks.
-- tejun
| |