lkml.org 
[lkml]   [2011]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2011-10-03 03:25    [from the cache]
©2003-2011 Jasper Spaans