From: Ingo Molnar Subject: Re: [PATCH] kvm tools: Signal only one thread when injecting console interrupts Date: Thu, 16 Jun 2011 09:29:24 +0200 Message-ID: <20110616072924.GB15366@elte.hu> References: <1308173586-5344-1-git-send-email-levinsasha928@gmail.com> <4DF94EFF.4000409@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sasha Levin , penberg@kernel.org, gorcunov@gmail.com, prasadjoshi124@gmail.com, kvm@vger.kernel.org To: Asias He Return-path: Received: from mx3.mail.elte.hu ([157.181.1.138]:47374 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756301Ab1FPH33 (ORCPT ); Thu, 16 Jun 2011 03:29:29 -0400 Content-Disposition: inline In-Reply-To: <4DF94EFF.4000409@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: * Asias He wrote: > On 06/16/2011 05:33 AM, Sasha Levin wrote: > > Send signals only to the thread which handles console injection > > instead of the entire process. > > > > This prevents every single thread from having to ignore SIGALRM > > and will help scaling when running large amount of VCPU threads. > > > > Suggested-by: Ingo Molnar > > Signed-off-by: Sasha Levin > > > This one is much simpler than the sig_block patches and also resolves > the getaddrinfo() problem for me in virtio net thread. > > Tested-by: Asias He yep, very nice! Acked-by: Ingo Molnar Thanks, Ingo