Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp206327ybt; Tue, 23 Jun 2020 19:42:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx120+UPsRRBjCGoJ0iriZqjXliNAIXaLXBk7WzNnRpUGPSvyMP3rhGEVFW9/vFujdVr52+ X-Received: by 2002:a17:906:57c6:: with SMTP id u6mr107755ejr.194.1592966544324; Tue, 23 Jun 2020 19:42:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592966544; cv=none; d=google.com; s=arc-20160816; b=L3hRM6Yl6mNhHTFcA/SAoi6jIgCp8K6FtzyVy25KLW+OPU/Hr/uHFYJHLuq0fkiWzR yRypER3GS92OYcUK36wfOjo2UhDD2WcaFs9baueqoe2w1xTkBWmp6BqnK0FsvFukmn2p a0Xde/Z4FB4MAPkyvRr5cIx8msXDL0DASjAUPKA7fupIfo0034osd9HikmlaKOUrecRk wsc8RA3NmrFGacgOMVe9r4RwRAaksWUtw01pP3bw5pzWJu9mqrxwOllL+lH0ln7V4P+9 fS3sfcUheVpWrEGG3hJGjnCiD2ek2C1oLRIYLVmvrTuziRkzQgxE8wUl6jaP8a4W/j8T vbnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=+GSsDo0MOVZtJBrkqAGhGjIGGrNdkXJK0dGWCkYYJ4I=; b=oed71olZCr1UVde7wWau3f5IAjrkuAYfbr52rzKfAdKxxDHxpBPovQdxgqQ6Mudcyc HEvIsS6RkHZroRLm8NiMzVRY+nR/t+ir2gNvPm2ZoONFtIT6Stxb2SVbFZvnIlpMZ3ph 7aSTWtTU1AU6ZsTiyn19VdQ55Vpo6hktzYOvVTSo6ZCXmEal+F7d6LW6gLiSquANgJYu uVjfiXab9X5MuyCniK5tTr2V7JNezStT/9w6bdEEmLgJiGdfVMgPzXypNsuYpk2qnxz1 /8rmKvnp0aIAZXGxD4f0GAsPITxIREOvKY0vUvtGCGRqA7V34gu5+DkBVt/NvKypKS0Y 1LGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g1si11886506edv.486.2020.06.23.19.42.00; Tue, 23 Jun 2020 19:42:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388223AbgFXCjs (ORCPT + 99 others); Tue, 23 Jun 2020 22:39:48 -0400 Received: from out30-54.freemail.mail.aliyun.com ([115.124.30.54]:56207 "EHLO out30-54.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387970AbgFXCjr (ORCPT ); Tue, 23 Jun 2020 22:39:47 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R191e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01f04427;MF=tianjia.zhang@linux.alibaba.com;NM=1;PH=DS;RN=37;SR=0;TI=SMTPD_---0U0YmjzJ_1592966379; Received: from 30.27.116.246(mailfrom:tianjia.zhang@linux.alibaba.com fp:SMTPD_---0U0YmjzJ_1592966379) by smtp.aliyun-inc.com(127.0.0.1); Wed, 24 Jun 2020 10:39:41 +0800 Subject: Re: [PATCH v6 1/5] KVM: s390: clean up redundant 'kvm_run' parameters To: Christian Borntraeger , pbonzini@redhat.com, tsbogend@alpha.franken.de, paulus@ozlabs.org, mpe@ellerman.id.au, benh@kernel.crashing.org, frankja@linux.ibm.com, david@redhat.com, cohuck@redhat.com, heiko.carstens@de.ibm.com, gor@linux.ibm.com, sean.j.christopherson@intel.com, vkuznets@redhat.com, wanpengli@tencent.com, jmattson@google.com, joro@8bytes.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, x86@kernel.org, hpa@zytor.com, maz@kernel.org, james.morse@arm.com, julien.thierry.kdev@gmail.com, suzuki.poulose@arm.com, christoffer.dall@arm.com, peterx@redhat.com, thuth@redhat.com, chenhuacai@gmail.com Cc: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-mips@vger.kernel.org, kvm-ppc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200623131418.31473-1-tianjia.zhang@linux.alibaba.com> <20200623131418.31473-2-tianjia.zhang@linux.alibaba.com> From: Tianjia Zhang Message-ID: <650c2193-5299-714e-92f4-75cbff319948@linux.alibaba.com> Date: Wed, 24 Jun 2020 10:39:39 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/6/23 23:31, Christian Borntraeger wrote: > > > On 23.06.20 15:14, Tianjia Zhang wrote: >> In the current kvm version, 'kvm_run' has been included in the 'kvm_vcpu' >> structure. For historical reasons, many kvm-related function parameters >> retain the 'kvm_run' and 'kvm_vcpu' parameters at the same time. This >> patch does a unified cleanup of these remaining redundant parameters. >> >> Signed-off-by: Tianjia Zhang >> Reviewed-by: Vitaly Kuznetsov >> --- >> arch/s390/kvm/kvm-s390.c | 23 +++++++++++++++-------- >> 1 file changed, 15 insertions(+), 8 deletions(-) > > Tinajia, > > I have trouble seeing value in this particular patch. We add LOCs > without providing any noticable benefit. All other patches in this series at > least reduce the amount of code. So I would defer this to Paolo if he prefers > to have this way across all architectures. Yes, this is a full architecture optimization. Some of the architecture optimization has been merged into the mainline. I think it is necessary to unify this optimization. This is also the meaning of Paolo. You can refer to the email of the previous version: https://lkml.org/lkml/2020/4/27/16 Thanks, Tianjia