Re: [PATCH 1/3] kvm tools: Lock job_mutex before signalling

2011-05-01 Thread Pekka Enberg
On Sat, 2011-04-30 at 16:30 +0300, Sasha Levin wrote: Locking mutex before signalling to prevent unexpected scheduling. Signed-off-by: Sasha Levin levinsasha...@gmail.com Yeah, I think we need to do this but the changelog is not really adequate for this kind of change. Care to elaborate more

Re: [PATCH 1/3] kvm tools: Lock job_mutex before signalling

2011-05-01 Thread Sasha Levin
On Sun, 2011-05-01 at 10:10 +0300, Pekka Enberg wrote: On Sat, 2011-04-30 at 16:30 +0300, Sasha Levin wrote: Locking mutex before signalling to prevent unexpected scheduling. Signed-off-by: Sasha Levin levinsasha...@gmail.com Yeah, I think we need to do this but the changelog is not

[PATCH 1/3] kvm tools: Lock job_mutex before signalling

2011-04-30 Thread Sasha Levin
Locking mutex before signalling to prevent unexpected scheduling. Signed-off-by: Sasha Levin levinsasha...@gmail.com --- tools/kvm/threadpool.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/tools/kvm/threadpool.c b/tools/kvm/threadpool.c index c584ec7..700c08f 100644