Re: [PATCH] kvm tools: Signal only one thread when injecting console interrupts

Ingo Molnar
2011-06-16T07:29:29Z

* Asias He <asias.hejun@gmail.com> 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 <mingo@elte.hu>
> > Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
>
>
> 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 <asias.hejun@gmail.com>

yep, very nice!

Acked-by: Ingo Molnar <mingo@elte.hu>

Thanks,

Ingo