Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp22059ybh; Fri, 17 Jul 2020 17:13:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7nBHnmweLM02v3PWUY64qVLDGBDbMFk9lK+33gBaeF4fWQW+3k6XNlo5GhGaZgaFJlWjv X-Received: by 2002:a17:906:648f:: with SMTP id e15mr10421088ejm.99.1595031208933; Fri, 17 Jul 2020 17:13:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595031208; cv=none; d=google.com; s=arc-20160816; b=Q0wygntj15zXphkTtlQZwiTlFVmwQK1bc/r0etYOjTTl2UUfE7BsjBrmHZjrg7Lz4D xDWAloIpnZeeAhq9mXeqji6BqSZZ4mN2XogS0kD3ercPYuyTAEAU9zrGmMKGHb2p5+Rx xkv5EzCpbvZ4HEYjXhvWBepI3r78bV1t9Qe0kEe/WTZQBQv/bMSonV1uqUK3eSRsZ59Q TzOUZWQSU0U5vEsdp/A/nwci79R9OwQs3/jT03h7TPKx3KgtiylaNt6r/4d5LN+Eyxzw suH3kTpXwav2vkcmD0BDGjUP2Gg7cFWSvZ8CmWdv4ZC6WyKSWpFsPyy8MU1HHHYLc3gg AHug== 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=ksIFcElnYbbLm9YufV6xOfMJdbkbI2Vm4c/egidAJzY=; b=EhwPJMj7jnuT1owQYT1lGQsI8vKzf95rfdx0+3WUjc1Lt3i8Ox7Sq9jCLv/AnXkclz 0muEUfjz7AuEVUdArxrQnFZnFZykGm4gu4b458dlfRRtF7+ouuifGO/bfARlIUxGBxGp MNXmODWhbHpaIcaAQG3yUkwtRBec/IY3JJI0jQ+gfPDE7P7t3Va702D7v6lxJuTCUbsm ilSFc0BZ/9JHkTe3nprTKZMDpqdlDX8P+ccilyu5kI6atM68RIzq1aJTFbY93d3gn7MP 4iSOYOyQEj8n9wXkjBYbcTlNVDSYDi92oz9Czwj4X8kWWYncl2BoFx2dwC5eiBipoGOW oqEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yoIF14IT; 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 a8si6480236edr.123.2020.07.17.17.13.04; Fri, 17 Jul 2020 17:13:28 -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=yoIF14IT; 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 S1728276AbgGRANA (ORCPT + 99 others); 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 /*