From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70D83C433E1 for ; Sat, 18 Jul 2020 00:13:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 474C120829 for ; Sat, 18 Jul 2020 00:13:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595031201; bh=6U990pCrqx8gF6az8xcughhGYyeg5SgkZ15i21TePlc=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:List-ID: From; b=IasGGMWUFocVcF0Nei8InIdO/5yh14yLe1jq4gUL3HnfbR9vTER+G8hMWkYMifGMK kDHFZF1miXUyn09Ma+ALUjCwbRBHRDnYoqYCj/ZERBfuNnGa26w7sCJMnIM+6KtDSF XAHV51bM6vUMjrmzMSymCcVlLG4xmnrguXHu6jP4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727981AbgGRANA (ORCPT ); Fri, 17 Jul 2020 20:13:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:54460 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727946AbgGRANA (ORCPT ); Fri, 17 Jul 2020 20:13:00 -0400 Received: from paulmck-ThinkPad-P72.home (50-39-111-31.bvtn.or.frontiernet.net [50.39.111.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C18C520768; Sat, 18 Jul 2020 00:12:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595031179; bh=6U990pCrqx8gF6az8xcughhGYyeg5SgkZ15i21TePlc=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=yoIF14ITjXcQAKyJR8qBJ+VnsYRCwcHRgk0ySLlYAHyhDb17CruZQZJHiMzxYfLYv Tibk3rxtm5JiGHKxsHN0hAsylHTl2kKVVDs0aJzcIZJj5pkmSNzXyZHWjra9Mzw3FF T1Fy4GNLH5f8r60NTY29YCBd7U6pP5XlA8FqiALQ= Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id A6BB035231DA; Fri, 17 Jul 2020 17:12:59 -0700 (PDT) Date: Fri, 17 Jul 2020 17:12:59 -0700 From: "Paul E. McKenney" To: Naresh Kamboju Cc: madhuparnabhowmik10@gmail.com, Dexuan-Linux Cui , Josh Triplett , Joel Fernandes , Paolo Bonzini , rcu@vger.kernel.org, open list , X86 ML , kvm list , frextrite@gmail.com, lkft-triage@lists.linaro.org, Dexuan Cui , juhlee@microsoft.com, Daniel =?iso-8859-1?Q?D=EDaz?= Subject: Re: [PATCH 2/2] kvm: mmu: page_track: Fix RCU list API usage Message-ID: <20200718001259.GY9247@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <20200712131003.23271-1-madhuparnabhowmik10@gmail.com> <20200712131003.23271-2-madhuparnabhowmik10@gmail.com> <20200712160856.GW9247@paulmck-ThinkPad-P72> <20200717170747.GW9247@paulmck-ThinkPad-P72> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: rcu-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org On Sat, Jul 18, 2020 at 12:35:12AM +0530, Naresh Kamboju wrote: > Hi Paul, > > > I am not seeing this here. > > Do you notice any warnings while building linux next master > for x86_64 architecture ? Idiot here was failing to enable building of KVM. With that, I do see the error. The patch resolves it for me. Does it help for you? Thanx, Paul ------------------------------------------------------------------------ diff --git a/include/linux/rculist.h b/include/linux/rculist.h index de9385b..f8633d3 100644 --- a/include/linux/rculist.h +++ b/include/linux/rculist.h @@ -73,7 +73,7 @@ static inline void INIT_LIST_HEAD_RCU(struct list_head *list) #define __list_check_rcu(dummy, cond, extra...) \ ({ check_arg_count_one(extra); }) -#define __list_check_srcu(cond) true +#define __list_check_srcu(cond) ({ }) #endif /*