From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH v3 0/5] KVM: optimize userspace exits with a new ioctl Date: Mon, 7 Sep 2015 14:33:11 +0200 Message-ID: <55ED8407.8050703@redhat.com> References: <1439546917-17391-1-git-send-email-rkrcmar@redhat.com> <55E6D009.9040000@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Christian Borntraeger , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , linux-kernel@vger.kernel.org Return-path: In-Reply-To: <55E6D009.9040000@de.ibm.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 02/09/2015 12:31, Christian Borntraeger wrote: > As far as I can see this should also work for s390 (when we implement > REQ_EXIT handling) > > To double check my understanding: these improvements come with a changed > userspace that does not use KVM_SET_SIGNAL_MASK and therefore this > conditional is false > if (vcpu->sigset_active) > sigprocmask(SIG_SETMASK, &vcpu->sigset, &sigsaved); > Correct? > > That also means we improve exits that go to userspace but lightweight exits > that stay inside the kernel are not affected. Yes, both observations are correct. Paolo