Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4789094imw; Tue, 19 Jul 2022 13:18:36 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vAAIwC0Td9CSIz/mhVO3jf1WqeHpZQYp9VLPHOfkP8nq4j/ZIOaz/WR1/D3rwP26MkhU7x X-Received: by 2002:a17:907:72ca:b0:72f:1a9b:361b with SMTP id du10-20020a17090772ca00b0072f1a9b361bmr16177479ejc.274.1658261916162; Tue, 19 Jul 2022 13:18:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658261916; cv=none; d=google.com; s=arc-20160816; b=apCX1upoIkkk6T9VDpa8hpvytJaLLdRHLuppcvE0pSS7dFSkUPLPhTR3XS1iUjgQN6 jL1L0kNCShY3ywj04hY3oEP92RaPvGavEvkRS9WeYS4zVWLOYrrGCKG493HQUHhkEkDf qFIlOhEmfdyo/8AS4dKsU46w7jBb3pldJv81mfw5I1wKYg02fIvsGEWpuxOyhpOooxh2 FMW7+dxXfbtDJ6R6GW11lmdX5nkDF+dc9tRpHUGdYUtO6H80nzQ2sE6A9wd8C7Cj2Mxr 3PHPcgr/uwNUEQFOcq9cCMx8pL1YmO2BGkpPa2CMD1NPMavzBw8vYqH/N8ol4qzJl0GR E6mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NEfS/eoC3Nf00HaXxYG0DEJSxAw0JNVTBJo/RCeny3A=; b=PyN6IB/oOE3QOkD66PN1g7EkARF6ZVIhnC9FuJpeKMsrULItgJRpna0jZ2y+mYWZ9b YKCtG1xbHRUV5BhldfaWYhNqRwjlnewosmDcIsrYUdvhztJ8ZbuDUBjP6anX8udrYoIr UXRIl/kjptBcpwut5YILjjgYOJrOs84jG141nm8UCsTo8Ve7bFh4oJdSznKNorexCQGW Bsgv9w+Wunx9wMzOevWol/fo36SAK7ccbsKvxMzpdpfCbE2nNEUuWF1C4brBZszDwhXF qdJM2sjoZxIZel+OVhp/ImNRdWXwZp9DCEuKRetPEa2ZiVsS+VzDzOgelC8ICUZj8nf/ V5IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=AD0ma5Bq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i20-20020aa7c714000000b0043b22af4d27si17065164edq.442.2022.07.19.13.18.06; Tue, 19 Jul 2022 13:18:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=AD0ma5Bq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236749AbiGSUPY (ORCPT + 99 others); Tue, 19 Jul 2022 16:15:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230219AbiGSUPW (ORCPT ); Tue, 19 Jul 2022 16:15:22 -0400 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26E6F15FC3 for ; Tue, 19 Jul 2022 13:15:21 -0700 (PDT) Received: by mail-pg1-x52f.google.com with SMTP id f11so14487596pgj.7 for ; Tue, 19 Jul 2022 13:15:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=NEfS/eoC3Nf00HaXxYG0DEJSxAw0JNVTBJo/RCeny3A=; b=AD0ma5BqumwDv7a5beqdIOAf2q4v1HKvJvxvlz1PIt7KzKSKvxN3tviTN7HZPA8wi5 FHO5WtxtfIW4KQYtVnFjEwHDeyd7SbYZOZEMzeR/Wfuv+/7CepejK8SPD9nfCZ7ywHI2 f4u485c0kU6rgzaVEtn3f9mT8l5YrZO+h+5ay5NGts8uw6T0+mUN/aNYMabgiv3f/4bP Nl/uzyXBHgdve2FvTljLDjfel61ViB7n8T7YiKXW10wnsBnwzwLWCAN2PhoDm5H/BFsU Hpa3Z6sdVK4zGPf1rZ7esR0C95oIAAU8+IYhluk7GLr5N/yrvNjF/fA61ExUi8rI1jz7 gl7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=NEfS/eoC3Nf00HaXxYG0DEJSxAw0JNVTBJo/RCeny3A=; b=6ZQuB7EDGYYqZmt7WhSGktz6tO4btzSmWBy/glO6ooWH2wqYST/up9Ur2BHTrVUP8D IhloH7mzF1QsyQPO1hhHoTqPRkk9JQ8j0Vyx9G7ApcoSVYG7KJtAujVpzamX4s8QjcCF 65x6pJPi+B0KWzwlrhFkuPkYWuIFHBwmMci0pcrXgHgqE63b813limfh2TV6rU9trZAI FLZ6DG9K/W29nDWCijkJe5x5eWJW1kFb5FZa0ghLWyTle4oFUwoC+B1AiKAGykbJD8gu 79bUgsRdrlKZBiem6IxJR6eWr8dSw3wZ3yYxJuc6XlAQN1dhpStgjU5isnAkuWMGRHxT UvUA== X-Gm-Message-State: AJIora+LQch6Et9YQD2NlEkIVWoS8r09nZf142xRR02UfvH3/DZ2DUM/ eWfC+o/M3Gv6LtuAi79D1ArHIQ== X-Received: by 2002:a63:5b5f:0:b0:416:1e31:5704 with SMTP id l31-20020a635b5f000000b004161e315704mr30558147pgm.523.1658261720495; Tue, 19 Jul 2022 13:15:20 -0700 (PDT) Received: from google.com (123.65.230.35.bc.googleusercontent.com. [35.230.65.123]) by smtp.gmail.com with ESMTPSA id a8-20020a170902710800b0016c28a68ad0sm11936220pll.253.2022.07.19.13.15.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jul 2022 13:15:20 -0700 (PDT) Date: Tue, 19 Jul 2022 20:15:16 +0000 From: Sean Christopherson To: Lai Jiangshan Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Paolo Bonzini , Vitaly Kuznetsov , Maxim Levitsky , Lai Jiangshan Subject: Re: [PATCH 07/12] KVM: X86/MMU: Remove the useless struct mmu_page_path Message-ID: References: <20220605064342.309219-1-jiangshanlai@gmail.com> <20220605064342.309219-8-jiangshanlai@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220605064342.309219-8-jiangshanlai@gmail.com> X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Nit, s/useless/now-unused, or "no longer used". I associate "useless" in shortlogs as "this is pointless and always has been pointless", whereas "now-unused" is likely to be interpreted as "remove as it's no longer used after recent changes". Alternatively, can this patch be squashed with the patch that removes mmu_pages_clear_parents()? Yeah, it'll be a (much?) larger patch, but leaving dead code behind is arguably worse. On Sun, Jun 05, 2022, Lai Jiangshan wrote: > From: Lai Jiangshan > > struct mmu_page_path is set and updated but never used since > mmu_pages_clear_parents() is removed. > > Remove it. > > Signed-off-by: Lai Jiangshan > ---