Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3172406imm; Fri, 10 Aug 2018 05:07:23 -0700 (PDT) X-Google-Smtp-Source: AA+uWPx5N2dDInT3fTcKTJn74/Gt2c8rZAajjmInDq4kA8yh1fk+9ijq3+rJHV6f+EAuk1zD6lBR X-Received: by 2002:a62:1449:: with SMTP id 70-v6mr6870232pfu.222.1533902843259; Fri, 10 Aug 2018 05:07:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533902843; cv=none; d=google.com; s=arc-20160816; b=cnsnyiKW7kTbPUPDcT2khC0FbYoxiX7lmhh8oVDK0w9lf3o7YfWAcFj/xiT6s36pJv NyDELH3OU9jLLWJczbwFgTxQK9Lo/DV+5w7mJToj7yVtXT0hz/sutsIr+RqlecDtDm9M VOs8ZTyhvR6kcy9p5U0k916cMAVGlxOU/RrrjMB/HYx85RMP/yIGVyVS0Vpg6kLWWHwV QbeSnZ0pySPk4R4zE7C47vzJ5ORm5up1h3Rnwu7OyX7Bk1k+4O6yU4FIrRqfTuAF4MpC jgb9s+6TMHheaeH38aSIY+bwFy9yZZTrc5OSzptrHu3ytYxctf7z8kKuB7/YlW0vsjta 9sjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:in-reply-to:references :subject:cc:to:from:date:message-id:arc-authentication-results; bh=iFn1iPIs6DZ3pfhNArGNQSAeHY8cbkSNFNSId2tcN/E=; b=Ogge0mchB+c6cwqhMlumy+Sl3cU1s86oErMfmI7OhDFHTTZhiAKOB379rGjyKqQSCU zKRVaqgTewFARJxHuxNvW4PjM/ylEXpxTPDX1haPR90rrk6Ocv3B19S+/MCD2pDS+W1X eKZSa7TgqLr7c8UvBQRKalXASJN8ftGDrgf3NF48dR4aUlxy8nco+T9w2KRyF+3ylx/z +p84rLfWDIYENXk1Pc2gq8L5/qUpfQ+4aHWZ8AvXl3o+SzNTtrQil/05CDT7hM1/t5qh FIHtA68HEkjlScek8wJam4t9zcCe/mRBn2zqbzYv+2ZI71dp1i04BrZhI0jTVMfPLRSv /q3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r73-v6si10223120pfk.83.2018.08.10.05.07.05; Fri, 10 Aug 2018 05:07:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727996AbeHJOfw convert rfc822-to-8bit (ORCPT + 99 others); Fri, 10 Aug 2018 10:35:52 -0400 Received: from prv1-mh.provo.novell.com ([137.65.248.33]:35192 "EHLO prv1-mh.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727494AbeHJOfw (ORCPT ); Fri, 10 Aug 2018 10:35:52 -0400 Received: from INET-PRV1-MTA by prv1-mh.provo.novell.com with Novell_GroupWise; Fri, 10 Aug 2018 06:06:13 -0600 Message-Id: <5B6D7FB402000078001DCF30@prv1-mh.provo.novell.com> X-Mailer: Novell GroupWise Internet Agent 18.0.0 Date: Fri, 10 Aug 2018 06:06:12 -0600 From: "Jan Beulich" To: "Juergen Gross" Cc: "the arch/x86 maintainers" , , "Linux Virtualization" , "xen-devel" , "Boris Ostrovsky" , , , , "Alok Kataria" , Subject: Re: [Xen-devel] [PATCH 04/10] x86/paravirt: use a single ops structure References: <20180810115252.18213-1-jgross@suse.com> <20180810115252.18213-5-jgross@suse.com> In-Reply-To: <20180810115252.18213-5-jgross@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>> On 10.08.18 at 13:52, wrote: > --- a/arch/x86/hyperv/mmu.c > +++ b/arch/x86/hyperv/mmu.c > @@ -228,9 +228,9 @@ void hyperv_setup_mmu_ops(void) > > if (!(ms_hyperv.hints & HV_X64_EX_PROCESSOR_MASKS_RECOMMENDED)) { > pr_info("Using hypercall for remote TLB flush\n"); > - pv_mmu_ops.flush_tlb_others = hyperv_flush_tlb_others; > + pv_ops.pv_mmu_ops.flush_tlb_others = hyperv_flush_tlb_others; Taking just this as example, why not pv_ops.mmu.flush_tlb_others = hyperv_flush_tlb_others; ? Both pv_ and _ops are redundant on the field names. Jan