Thread (71 messages) 71 messages, 10 authors, 2015-10-27

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

From: Peter Zijlstra <hidden>
Date: 2015-09-17 15:59:05
Also in: lkml

Possibly related (same subject, not in this thread)

On Thu, Sep 17, 2015 at 11:52:45AM -0400, Tejun Heo wrote:
Hello,

On Thu, Sep 17, 2015 at 05:10:49PM +0200, Peter Zijlstra wrote:
quoted
Subject: sched: Refuse to unplug a CPU if this will violate user task affinity

Its bad policy to allow unplugging a CPU for which a user set explicit
affinity, either strictly on this CPU or in case this was the last
online CPU in its mask.

Either would end up forcing the thread on a random other CPU, violating
the sys_sched_setaffinity() constraint.
Shouldn't this at least handle suspend differently?  Otherwise any
userland task would be able to block suspend.
It does, it will allow suspend.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help