Thread (115 messages) 115 messages, 7 authors, 2010-08-04

Re: [PATCH 3/3] vhost: apply cpumask and cgroup to vhost workers

From: Tejun Heo <tj@kernel.org>
Date: 2010-06-01 10:57:18
Also in: kvm, lkml

Hello,

On 06/01/2010 12:17 PM, Michael S. Tsirkin wrote:
Something that I wanted to figure out - what happens if the
CPU mask limits us to a certain CPU that subsequently goes offline?
The thread gets unbound during the last steps of cpu offlining.
Will e.g. flush block forever or until that CPU comes back?
Also, does singlethreaded workqueue behave in the same way?
So, things will proceed as usual although the thread will lose its
affinity.  Singlethread wqs don't bind their workers (and they
shouldn't! :-).  MT ones explicitly manage workers according to cpu
up/down events.

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help