Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752185AbdHHHmC (ORCPT ); Tue, 8 Aug 2017 03:42:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53372 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751880AbdHHHmB (ORCPT ); Tue, 8 Aug 2017 03:42:01 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com CF5FE5AFE8 Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=cohuck@redhat.com Date: Tue, 8 Aug 2017 09:41:53 +0200 From: Cornelia Huck To: "Longpeng(Mike)" Cc: , , , , , , , , , , , , , Subject: Re: [PATCH v2 0/4] KVM: optimize the kvm_vcpu_on_spin Message-ID: <20170808094153.1b5bf8f4@gondolin> In-Reply-To: <1502165135-4784-1-git-send-email-longpeng2@huawei.com> References: <1502165135-4784-1-git-send-email-longpeng2@huawei.com> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Tue, 08 Aug 2017 07:42:01 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 600 Lines: 18 On Tue, 8 Aug 2017 12:05:31 +0800 "Longpeng(Mike)" wrote: > This is a simple optimization for kvm_vcpu_on_spin, the > main idea is described in patch-1's commit msg. I think this generally looks good now. > > I did some tests base on the RFC version, the result shows > that it can improves the performance slightly. Did you re-run tests on this version? I would also like to see some s390 numbers; unfortunately I only have a z/VM environment and any performance numbers would be nearly useless there. Maybe somebody within IBM with a better setup can run a quick test?