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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98C69C433EF for ; Tue, 21 Jun 2022 06:02:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344593AbiFUGCg (ORCPT ); Tue, 21 Jun 2022 02:02:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232674AbiFUGCe (ORCPT ); Tue, 21 Jun 2022 02:02:34 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94C12222A4; Mon, 20 Jun 2022 23:02:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1655791353; x=1687327353; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=VHAjmEbZc7jwKnHS8zl9mOKNxsPKF/mZNylCIMifo4c=; b=lg3g74JYK6kV1tSk7Ju0+lZJuYxMjHj9vJdiuCMzNBYzjt22eMOjYQeu 8bdCUzRwV8SeNjS9UnYjIc0c5RfKhpEFX0jFkO9JC4SZdlDAAKkNmRy+D Q9TWdzPtbUywGiQ6+tPLEsoJi3hzJFnf+bVfrvBCiVU5hv9+9z//kdtay 4=; Received: from unknown (HELO ironmsg05-sd.qualcomm.com) ([10.53.140.145]) by alexa-out-sd-02.qualcomm.com with ESMTP; 20 Jun 2022 23:02:33 -0700 X-QCInternal: smtphost Received: from nasanex01b.na.qualcomm.com ([10.46.141.250]) by ironmsg05-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2022 23:02:33 -0700 Received: from [10.50.44.13] (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Mon, 20 Jun 2022 23:02:31 -0700 Message-ID: <32ce954a-7afd-fbde-ace9-37979539b299@quicinc.com> Date: Tue, 21 Jun 2022 11:32:28 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH rcu 05/12] rcu: Forbid RCU_STRICT_GRACE_PERIOD in TINY_RCU kernels Content-Language: en-US To: "Paul E. McKenney" , CC: , , References: <20220620222022.GA3839466@paulmck-ThinkPad-P17-Gen-1> <20220620222032.3839547-5-paulmck@kernel.org> From: Neeraj Upadhyay In-Reply-To: <20220620222032.3839547-5-paulmck@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/21/2022 3:50 AM, Paul E. McKenney wrote: > The RCU_STRICT_GRACE_PERIOD Kconfig option does nothing in kernels > built with CONFIG_TINY_RCU=y, so this commit adjusts the dependencies > to disallow this combination. > > Signed-off-by: Paul E. McKenney > --- Reviewed-by: Neeraj Upadhyay Thanks Neeraj > kernel/rcu/Kconfig.debug | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/rcu/Kconfig.debug b/kernel/rcu/Kconfig.debug > index 9b64e55d4f615..4da05beb13d79 100644 > --- a/kernel/rcu/Kconfig.debug > +++ b/kernel/rcu/Kconfig.debug > @@ -121,7 +121,7 @@ config RCU_EQS_DEBUG > > config RCU_STRICT_GRACE_PERIOD > bool "Provide debug RCU implementation with short grace periods" > - depends on DEBUG_KERNEL && RCU_EXPERT && NR_CPUS <= 4 > + depends on DEBUG_KERNEL && RCU_EXPERT && NR_CPUS <= 4 && !TINY_RCU > default n > select PREEMPT_COUNT if PREEMPT=n > help