Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp991785ybh; Sun, 19 Jul 2020 05:24:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5fpuqd7CjI1pUgTc9R2OAnbaGyEQexJhmtsM8A7DXcU0N6C7l2hiIxXovHrkazjxGhmfu X-Received: by 2002:a17:906:6d56:: with SMTP id a22mr17249917ejt.440.1595161468864; Sun, 19 Jul 2020 05:24:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595161468; cv=none; d=google.com; s=arc-20160816; b=yeVdgmSFHQ7XPXob40v6fAQPV05eYtnpcaQMQv9np+FzF3guOEqQ/2P+obD79738U4 klXyz+aH3OhSvxG04PXqXLEIuEGwWAJbBNSW6X+gPN0lEo27cxVdaEiaBfmhhs8TuNSn D5g1DY3AoMeiMDabxuXndd2lsKUbOVmW7HsTs8PIYCsBPZN0F6Y7kYEJli6ExD+BJLEo Y/luSHOlD504Tv4kNS94DIGB/xWukhvo7pIXcA7MLD/4vEHinAPcZWcB8NdxScOyr8Gz 1XgkxFn+E+7RMcncPlXEimMjgXfQtmn4JcWtWKMnipLLKi+vynEZ2jI3cezG8+KDpG2M KkTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=WujZ/7jho1fGoHN1cxPxG4EtZF1JYD29nSTtD3mfiTI=; b=zcr+RKyYjjKYu2lUdTAV4Zr1Mr7enuFIo0adRm86VtTrqrgAfV/sR+xbFycGutIvJ+ FVP3VK7hl94T58Dtua6OLDpS67Cgmrdybigm0bIllwZ3qt34wPBO7d7jz2YhXwZsATJc 5aMfE/olFyx4pvHf5r64g/SNRtIrr20OBmoC+/+3K6Lk7Je/blU7XbPchayUeVPjCY8a cQWNvapE0nu0cVOBVjRECU6+d8R+TpK4nhJfNy2+CLGmihCWF1yg6bVn5Upl1pTgNxIE 1FdJYFXELIuXDxIDDs/+pZbpukDNOYtlYkdO2fwQ6oOa3makbLBIoj8YBd6zRF3eKeyy DJCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z3NKGYHb; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn13si8568620edb.186.2020.07.19.05.24.06; Sun, 19 Jul 2020 05:24: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=@linaro.org header.s=google header.b=Z3NKGYHb; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726446AbgGSMW7 (ORCPT + 99 others); Sun, 19 Jul 2020 08:22:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725836AbgGSMW6 (ORCPT ); Sun, 19 Jul 2020 08:22:58 -0400 Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DB58C0619D2 for ; Sun, 19 Jul 2020 05:22:58 -0700 (PDT) Received: by mail-lf1-x142.google.com with SMTP id k15so8333179lfc.4 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=EsiN9FXFrkFkNUoyU42CKxuroMLQXarpZb1c2KmjG/ogIRKbjddoKZg1+428EF4+2x dz2fqy7xo/HWD1NabBMed1l1lWR/52gda6WwhqG4dCD80Tnfqn7dAl974Lt9IouFNUnL jycIcj55UCQcw/UJGK+Tw9bc+9p/N5d64l+2eZTI/fQDpz0IeZpl2o8N3rgGDVrnkgQB CL31gueejV89kBVEp3c2GCYHypcPzCUNGiZrJJu8NhWIKy2g58i41WS0SPUJCKy4aOew HnXkgXg0zsThdkNPLOH5QWEjYlV2SCwqn6X8UxFPW/JIvO7AvnvIU6v4gDdBIwPU53G6 QGuQ== X-Gm-Message-State: AOAM530yPoViwd2OEe3u29qPGnBHBQnGuuaKqeY0ML05tin4uGE918wS ydiVIVuDhp9uJZuvlerlz5exKzD40VMumCi43myJ1Q== 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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