Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1121656ybh; Sun, 19 Jul 2020 09:09:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0Orx5jxARTuqig8rEGyWVutN9CknIAzQhVwCc4XxhvPhW9fZnh/xST08YUYmVxm0gXMDy X-Received: by 2002:a17:906:fcb1:: with SMTP id qw17mr16910465ejb.445.1595174999623; Sun, 19 Jul 2020 09:09:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595174999; cv=none; d=google.com; s=arc-20160816; b=z+Ddw8u143ZlAPQw40g0EvO0ewS/4TBJWpKHnIkJkWJUZReQK+TatWz37wbIGOcXZ8 LYYUKh8Jk9XUATtRCUyMqcK4bK8YGESOOjAGyYubXSR9nfOGiIHEtRkY2YJ6DxJT2P2n MzXKsYFS0nS+DMIou7yfD1Zxlwckz18EwOVULkyRUz7/0jKCU1GgaseWtiN2Tbcuj0MV /8EUeiEBAsfvvgFSIeRCrk6L6s5oKgnX6c0FdBlsBbyM1Ksr7zMO71dlezBwOYza0Q4r /LQQXsF7xuuwPF++iPC/L2hwwwnPfY3bbd13nqo9qafwv14NOFBxWWlaD5MG+19Y+pY4 Y09w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=P2WDK7W28TC5e0tvKB8e0kfXJ/slG8NqIkduP2YAO9k=; b=npJ2dW+e5whUZGIihUxNtcqpcCfIaJzLkbZ5vhIniIzPUCIxH/JnmYObDvZZjQx6x9 mCB4FFr1E+i8d4eC47WYlk4Qi/e1ncR17t5iyRRx6qm5U9clsZFP+pn9aX4l4VnIBAMg 8SeDkOEEkbMDNNlFcdecjjmWTPuPJsVDSvhojqRn3xXiQ/QdrhQ3zzuEHrnhvTASvvjp B0JmzFQE621YvncYqHiAybj9LY5x124mjm4G2pUHj76czRHAYhVT6vws89zQVaOPw2g4 sEkQaXtfaNDKT9DGxuhKuPWBadeAqbHxBtNX52kP2nqSypjRi+LgOfrPYpTPSSFvG5iB i0cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JfjG0CXq; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z24si9014420eja.705.2020.07.19.09.09.36; Sun, 19 Jul 2020 09:09:59 -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; dkim=pass header.i=@kernel.org header.s=default header.b=JfjG0CXq; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726683AbgGSQIZ (ORCPT + 99 others); Sun, 19 Jul 2020 12:08:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:37892 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726024AbgGSQIY (ORCPT ); Sun, 19 Jul 2020 12:08:24 -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 4232820B1F; Sun, 19 Jul 2020 16:08:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595174904; bh=0wFOBIblcTxzXV3S2TYEYAJuKoT8vFEuWNcwPnEYwX0=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=JfjG0CXqcBd5lRY4vnMvSNkcYTTZ1+XvSXk6aDp4K/jt4GLqqUcIE9i+GwUoqQhwm of0zMIrqPa6vnK50BNr1IZD1u7ERa8G94lzMAMjjdgE19bJMu+B3yxxBEXH7g4+1HL BTe0lbHn0WmJRhPPPeJQUfbLSOHcVR2d1FeNr2/k= Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id 312873522960; Sun, 19 Jul 2020 09:08:24 -0700 (PDT) Date: Sun, 19 Jul 2020 09:08:24 -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: <20200719160824.GF9247@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> <20200718001259.GY9247@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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 19, 2020 at 05:52:44PM +0530, Naresh Kamboju wrote: > On Sat, 18 Jul 2020 at 05:43, Paul E. McKenney wrote: > > > > 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? > > yes. > The below patch applied on top of linux -next 20200717 tag > and build pass. Thank you! May I add your Tested-by? 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 > > > > /* > > - Naresh