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=-7.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 D93DEC433E2 for ; Sun, 19 Jul 2020 12:22:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B57F1207DD for ; Sun, 19 Jul 2020 12:22:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Z3NKGYHb" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726390AbgGSMW7 (ORCPT ); Sun, 19 Jul 2020 08:22:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726135AbgGSMW6 (ORCPT ); Sun, 19 Jul 2020 08:22:58 -0400 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 844DBC0619D4 for ; Sun, 19 Jul 2020 05:22:58 -0700 (PDT) Received: by mail-lf1-x144.google.com with SMTP id k17so8329151lfg.3 for ; Sun, 19 Jul 2020 05:22:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WujZ/7jho1fGoHN1cxPxG4EtZF1JYD29nSTtD3mfiTI=; b=Z3NKGYHbByVNND6TEr1PvZw2+i2FuU6IdWaDdBS6ScSxzk5cjT//fNt1hUxNDPkSw0 FXuLvFP9PwMdml6Sxti2Ms5+ap+rwrp95GzzTfaUN3h7s4l7PLxO22xQI24VdT9fJp/2 P1jp4fIfcrdi0oVjI4lt45ERxxj/h0G77Mq5bz6/lZ4hZ1mgUHbafiwHqCgwIEU1g+uK Cmv02LKa+rghpupsCicTz3ERrUIAWPN7o4y9twvr7m7fGqOvcN9KAkpYp3UsgdhXqb5I u6maFfi/l0T7pjjrEDcxAzOTdEZ8Pv8HMOVAikbQ1XukhxEataY0hsp0F3yzX1pu2Zrc 9wnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WujZ/7jho1fGoHN1cxPxG4EtZF1JYD29nSTtD3mfiTI=; b=k6N+Kp8Ob9r00vz21PeH6f0BQhT+NO/LhXbHlWX6/ctpz6SsqSAFyXFx32PL/tLPUn 2HyMT/kWpkD+3UUYNbTcfUTKyFt+540d92QJFuHPpWknb/OBE7kdEPJ33ZHCAsEd74RS fxyqei2vZtdpi0aWkWhwWyaeORyV0ckSUmGxBwgUmWhUnvkTgDzQOK5HKea6fJaq19I5 WsX6N+6V7sAOcBrzFK3l7CyIgQZdxh+BI+26r0rhXtoJOJiMbKKw2D8OqnPmom+df8sb L+dutxr8VRe9ynASv7BSaYZ5ct39Oz/RINJ7yneiK9s4X5wfYa/k1fZt9chgHIjKSXhf 30Zw== X-Gm-Message-State: AOAM532W40snvOs6Beln1YAogBglkvSs7ag3XtrZepVL9VdQ9qC3vNqD GpTmXO5csc5or8c5nFWi9fu0T1jTDnRgK1u1sKrAOA== X-Google-Smtp-Source: ABdhPJy6emGfmf/9lRBLLDOFNbaaEr1iR97/eYQylRnx0qjqmuhyKlX/PtXMK8DwtCQ71KPW+GxR2WtI7IlzFc5AD9Y= X-Received: by 2002:a19:e45:: with SMTP id 66mr5284234lfo.82.1595161376814; Sun, 19 Jul 2020 05:22:56 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: <20200718001259.GY9247@paulmck-ThinkPad-P72> From: Naresh Kamboju Date: Sun, 19 Jul 2020 17:52:44 +0530 Message-ID: Subject: Re: [PATCH 2/2] kvm: mmu: page_track: Fix RCU list API usage To: "Paul E. McKenney" 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, =?UTF-8?B?RGFuaWVsIETDrWF6?= Content-Type: text/plain; charset="UTF-8" Sender: rcu-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org 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. > > 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