From mboxrd@z Thu Jan 1 00:00:00 1970 From: Asias He Subject: Re: [PATCH] kvm tools: Signal only one thread when injecting console interrupts Date: Thu, 16 Jun 2011 08:31:59 +0800 Message-ID: <4DF94EFF.4000409@gmail.com> References: <1308173586-5344-1-git-send-email-levinsasha928@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: penberg@kernel.org, mingo@elte.hu, gorcunov@gmail.com, prasadjoshi124@gmail.com, kvm@vger.kernel.org To: Sasha Levin Return-path: Received: from mail-pz0-f46.google.com ([209.85.210.46]:62754 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752104Ab1FPAde (ORCPT ); Wed, 15 Jun 2011 20:33:34 -0400 Received: by pzk9 with SMTP id 9so708672pzk.19 for ; Wed, 15 Jun 2011 17:33:34 -0700 (PDT) In-Reply-To: <1308173586-5344-1-git-send-email-levinsasha928@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: 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 -- Best Regards, Asias He