From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMyMB-0004nZ-LP for qemu-devel@nongnu.org; Thu, 28 Aug 2014 07:59:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMyM2-0002ez-DK for qemu-devel@nongnu.org; Thu, 28 Aug 2014 07:59:11 -0400 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:58733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMyM1-0002cb-Pp for qemu-devel@nongnu.org; Thu, 28 Aug 2014 07:59:02 -0400 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 28 Aug 2014 12:58:59 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id D74EC219002D for ; Thu, 28 Aug 2014 12:58:38 +0100 (BST) Received: from d06av05.portsmouth.uk.ibm.com (d06av05.portsmouth.uk.ibm.com [9.149.37.229]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s7SBwvSO38600934 for ; Thu, 28 Aug 2014 11:58:57 GMT Received: from d06av05.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s7SBwulB017475 for ; Thu, 28 Aug 2014 05:58:56 -0600 From: Jens Freimann Date: Thu, 28 Aug 2014 13:58:47 +0200 Message-Id: <1409227132-55354-1-git-send-email-jfrei@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/5] s390x/kvm: avoid synchronize_rcu's in kernel List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christian Borntraeger , Alexander Graf , Cornelia Huck Cc: Jens Freimann , qemu-devel@nongnu.org Whenever we call an ioctl from a wrong vcpu thread, the next ioctl will be painfully slow because a synchronize_rcu thread has to be performed, therefore involving all vcpu. This patch series forces most ioctls to run on the associated vcpu. It speeds up all start/restart/reset operations involving cpus drastically. David Hildenbrand (5): kvm: run cpu state synchronization on target vcpu thread s390x/kvm: run guest triggered resets on the target vcpu thread s390x/kvm: execute sigp orders on the target vcpu thread s390x/kvm: execute "system reset" cpu resets on the vcpu thread s390x/kvm: execute the first cpu reset on the vcpu thread kvm-all.c | 18 ++++++++++++++++-- target-s390x/cpu.c | 6 +++++- target-s390x/cpu.h | 15 +++++++++++++++ target-s390x/kvm.c | 23 ++++++++++++++++------- target-s390x/misc_helper.c | 30 ++++++++---------------------- 5 files changed, 60 insertions(+), 32 deletions(-) -- 1.9.3