Re: [PATCH] KVM: selftests: Always run vCPU thread with blocked SIG_IPI

2021-04-20 Thread Peter Xu
On Tue, Apr 20, 2021 at 06:24:50PM +0200, Paolo Bonzini wrote: > On 20/04/21 17:32, Peter Xu wrote: > > On Tue, Apr 20, 2021 at 10:37:39AM -0400, Peter Xu wrote: > > > On Tue, Apr 20, 2021 at 04:16:14AM -0400, Paolo Bonzini wrote: > > > > The main thread could start to send SIG_IPI at any time,

Re: [PATCH] KVM: selftests: Always run vCPU thread with blocked SIG_IPI

2021-04-20 Thread Paolo Bonzini
On 20/04/21 17:32, Peter Xu wrote: On Tue, Apr 20, 2021 at 10:37:39AM -0400, Peter Xu wrote: On Tue, Apr 20, 2021 at 04:16:14AM -0400, Paolo Bonzini wrote: The main thread could start to send SIG_IPI at any time, even before signal blocked on vcpu thread. Therefore, start the vcpu thread with

Re: [PATCH] KVM: selftests: Always run vCPU thread with blocked SIG_IPI

2021-04-20 Thread Peter Xu
On Tue, Apr 20, 2021 at 10:37:39AM -0400, Peter Xu wrote: > On Tue, Apr 20, 2021 at 04:16:14AM -0400, Paolo Bonzini wrote: > > The main thread could start to send SIG_IPI at any time, even before signal > > blocked on vcpu thread. Therefore, start the vcpu thread with the signal > > blocked. > >

Re: [PATCH] KVM: selftests: Always run vCPU thread with blocked SIG_IPI

2021-04-20 Thread Peter Xu
On Tue, Apr 20, 2021 at 04:16:14AM -0400, Paolo Bonzini wrote: > The main thread could start to send SIG_IPI at any time, even before signal > blocked on vcpu thread. Therefore, start the vcpu thread with the signal > blocked. > > Without this patch, on very busy cores the dirty_log_test could