Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42F3FC678D5 for ; Tue, 7 Mar 2023 20:18:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231747AbjCGUSP (ORCPT ); Tue, 7 Mar 2023 15:18:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231775AbjCGUSN (ORCPT ); Tue, 7 Mar 2023 15:18:13 -0500 Received: from mail-pf1-x449.google.com (mail-pf1-x449.google.com [IPv6:2607:f8b0:4864:20::449]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DA0273AC7 for ; Tue, 7 Mar 2023 12:18:11 -0800 (PST) Received: by mail-pf1-x449.google.com with SMTP id a23-20020a62bd17000000b0058db55a8d7aso7845729pff.21 for ; Tue, 07 Mar 2023 12:18:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1678220291; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:from:to:cc:subject:date:message-id :reply-to; bh=TBy8uaZdLaA2vuEpvMEgc5Zol1R57/Lhpg4H0LtQutQ=; b=ByZC/r9FYzZ656rX3fvn+gjr42ji69/Cfy2+ooWEMUrvz4vmNIW9llG1unN/7ELnfY BXbMN9ie3M/crOH0EiVf4l/4WzvrEDI9Mwh7r4mGph9G3bGtNQL8WViFo0bqVyswjS3Z 1oBJSYQ4erwKC8WNXjepoNZRyH+oEspSK6vmd/gLPflV1t//Nex7efWiU3R6sgFJ87XB hj52xTTpaJiPylk5c/gif2fm/iRQLjvU33EjHj+Hp4bAx0RKcd/Ljz0fcm9Z1JEZONGc WLaomMpzYlfZsxlziiadmW5ZloKTf7tdg78kPNPXdyEfwxwlJQJGdzQNp1rLqu03sCET wDHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678220291; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=TBy8uaZdLaA2vuEpvMEgc5Zol1R57/Lhpg4H0LtQutQ=; b=bYXwMYiI6PVJlCUF4j5wUeL6FDi5yMKjIkfZfT8vJFwDkUbVzPTf3jywR5CV2urhE+ wGkOSv0NgpngR9T2vMSDau44uaNxVqtWPRhLB0octJ+/+H6dg9WqqhtLIMfIEtBNyWz6 faH/cvRE2MshJ+D7/UsH6wtz+uUPrQom+1KzgruYaEx9eUT9A/7ZmMebTyaFhPi3n+q1 zSb+2DMBNKQXNjUCp9k526+OF+Uft/Jdtvx8u+RvL0QK6c+rXQtAARt3xeZVEG3VFWmz P92GoSbdUdUIgIJAX9338JWKLz6iPuLkrD12SyjLcDio9PA5irc3mVOWvp0oYsuk9/7c 0UJQ== X-Gm-Message-State: AO0yUKVhFyeNcugjltM24VEuUTWBh+EpWOjE6GJrLL8bsKyGHUD6I5IW lFPdkpFkcOeYBt2lntLi6oLf8tkkvv8= X-Google-Smtp-Source: AK7set+dALpfNS9d/EtiXblm62Tp/vh6zce1WOWL1zqGz0ympR4BwgAKhVJQwyU0j2wOGMyzfkI4/u3K1lU= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:903:2581:b0:19a:8bc7:d814 with SMTP id jb1-20020a170903258100b0019a8bc7d814mr5975096plb.13.1678220290945; Tue, 07 Mar 2023 12:18:10 -0800 (PST) Date: Tue, 7 Mar 2023 12:18:09 -0800 In-Reply-To: Mime-Version: 1.0 References: <20230306224127.1689967-4-vipinsh@google.com> <202303071940.sFeQ4FpU-lkp@intel.com> Message-ID: Subject: Re: [Patch v4 03/18] KVM: x86/mmu: Track count of pages in KVM MMU page caches globally From: Sean Christopherson To: Vipin Sharma Cc: kernel test robot , pbonzini@redhat.com, bgardon@google.com, dmatlack@google.com, oe-kbuild-all@lists.linux.dev, jmattson@google.com, mizhang@google.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 07, 2023, Vipin Sharma wrote: > On Tue, Mar 7, 2023 at 3:33=E2=80=AFAM kernel test robot = wrote: > > > > Hi Vipin, > > > > Thank you for the patch! Perhaps something to improve: > > > > [auto build test WARNING on kvm/queue] > > [also build test WARNING on kvmarm/next linus/master v6.3-rc1 next-2023= 0307] > > [cannot apply to mst-vhost/linux-next kvm/linux-next] > > [If your patch is applied to the wrong git tree, kindly drop us a note. > > And when submitting patch, we suggest to use '--base' as documented in > > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > > > All warnings (new ones prefixed by >>): > > > > >> arch/x86/kvm/mmu/mmu.c:676: warning: This comment starts with '/**',= but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.r= st >=20 > > vim +676 arch/x86/kvm/mmu/mmu.c > > > > 674 > > 675 /** > > > 676 * Caller should hold mutex lock corresponding to cache, if ava= ilable. > > 677 */ >=20 > I will fix it in the next version. Don't bother reworking the code/comment, I will likely have feedback that r= esults in the demise of the comment altogether (comments that say "lock X must be = held" are almost always flawed).