Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp732889rdb; Tue, 5 Dec 2023 20:08:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IGTwiDjFf4asdTTO4UVVmqcTxkIRL0BeKTEbq8eK13WZrVSfvzJId1+2frOl10LxdE16/ms X-Received: by 2002:a25:c0d8:0:b0:da3:76c1:c779 with SMTP id c207-20020a25c0d8000000b00da376c1c779mr196794ybf.52.1701835703671; Tue, 05 Dec 2023 20:08:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701835703; cv=none; d=google.com; s=arc-20160816; b=FkMXwfFVokNftui+O31eWlaSRxRX62fb7FR3KMUYpSvcW6VY6TV0XN2IgVPHdlJo/F QbQDrDGsHKdW9i4fKXth8bT5QsdalXqy02R6p+tD3up5RRda3zReVY1AT21D84Ene2PZ aVzarDD/5z3v1QMZXdMp24RE7friuzWEWYzBfPIRlKtIjCPn4tQHhGV6FDbo/JIKu2RE fkS2JU4NHKEmT2kL80yacj9eSNNS95UryKJKCiuYbwLOx4OV15ZvtilH1t/J48nCLhMP 2JnMoktHyyAEa1+hmI49J+/WYsvBlPNRTiIWrFhef5cNvtquU729TxdGnUfqlOAwCaNg i8jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=oLCwL2ThDL2Op5PIXy/5vjKNuQSRg65EugspslgHJdE=; fh=HhWmKlCKafocN8eh6maZm1H++aKVSluqNMB9WAfG+go=; b=KHV0DfzJ5kYygv2hgUUi8DqY92BANAzv0uYxr2hEWPaHUAXLC3s9nYZBVgxzlhxy8p KpjoOCCIJVAFwVikuHX7hVEtpWr0lsFKNCMuJSZxFyZxYMGtQyW8+J9cY1vamHrvV8u9 2I0bZ47VTvTuEd69z8KPjZHHgr3ueeB8+RMV/folXZA6znAfngCw2Mpsxx5oy9nB1Q0x 79Jgyk9vfIV+6qs70FUCkqWi7mbpwyIOck0y1h2QzW/9gOlkvH/R/6XD65IPRvS/OXTO y2MKrA588ZWXjFoac8/8+HP4AG5YShr7B8Qs53jYUCQJlJlPhaOtgkgcdZpk6uSor0XQ LLig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=f1748msn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id ob3-20020a17090b390300b0027d22d5aa7esi11309772pjb.46.2023.12.05.20.08.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 20:08:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=f1748msn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id A138082C516B; Tue, 5 Dec 2023 20:08:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229577AbjLFEHp (ORCPT + 99 others); Tue, 5 Dec 2023 23:07:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbjLFEHo (ORCPT ); Tue, 5 Dec 2023 23:07:44 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BDA01B9 for ; Tue, 5 Dec 2023 20:07:50 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE132C433C7; Wed, 6 Dec 2023 04:07:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701835669; bh=KMG769MNITrQ/3a5d6hMdwbizXr8YhfZCzIXqzcUdYA=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=f1748msnH4UQkZY4UnLQFsRD/ti09IyK8xqHUWb8u87QYi26s4DPocVQXv5FtSbMd TZcXEoX6s1arM0oMdj9IJ9VKA+P3O+MGKAScOm6cOcxw4u6ry8SIbysXE1m7Os9mNY 98Hyr8j9xBAO5QQeDvdHXRflHiCSrRW1Cux1bcNQeNCQgr6oCYK8qCqNfH1G07zHep lGyfWwryQfZJy05NiswJd1h9tJOR8jCp57z9Sowi2jcPbJyGPXZfRHBAVHVDSNO+1T 5xNEkgQXuB7zi+9ME3m4kZLePMkZmCljR9UkhQ82s55XJLAJNzVRKYqVft6nDH8rBt Rvkp9wYHkaViw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 612ACCE0B04; Tue, 5 Dec 2023 20:07:49 -0800 (PST) Date: Tue, 5 Dec 2023 20:07:49 -0800 From: "Paul E. McKenney" To: Ankur Arora Cc: Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, peterz@infradead.org, torvalds@linux-foundation.org, linux-mm@kvack.org, x86@kernel.org, akpm@linux-foundation.org, luto@kernel.org, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, willy@infradead.org, mgorman@suse.de, jon.grimm@amd.com, bharata@amd.com, raghavendra.kt@amd.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com, jgross@suse.com, andrew.cooper3@citrix.com, mingo@kernel.org, bristot@kernel.org, mathieu.desnoyers@efficios.com, geert@linux-m68k.org, glaubitz@physik.fu-berlin.de, anton.ivanov@cambridgegreys.com, mattst88@gmail.com, krypton@ulrich-teichert.org, David.Laight@aculab.com, richard@nod.at, mjguzik@gmail.com, Simon Horman , Julian Anastasov , Alexei Starovoitov , Daniel Borkmann Subject: Re: [RFC PATCH 47/86] rcu: select PREEMPT_RCU if PREEMPT Message-ID: <106ab2d8-f63b-4c52-a93f-fc499d43fc13@paulmck-laptop> Reply-To: paulmck@kernel.org References: <87wmu2ywrk.ffs@tglx> <20231205100114.0bd3c4a2@gandalf.local.home> <1375e409-2593-45e1-b27e-3699c17c47dd@paulmck-laptop> <87il5cpfn1.fsf@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87il5cpfn1.fsf@oracle.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 05 Dec 2023 20:08:19 -0800 (PST) On Tue, Dec 05, 2023 at 12:18:26PM -0800, Ankur Arora wrote: > > Paul E. McKenney writes: > > > On Tue, Dec 05, 2023 at 10:01:14AM -0500, Steven Rostedt wrote: > >> On Mon, 4 Dec 2023 17:01:21 -0800 > >> "Paul E. McKenney" wrote: > >> > >> > On Tue, Nov 28, 2023 at 11:53:19AM +0100, Thomas Gleixner wrote: > >> > > Paul! > >> > > > >> > > On Tue, Nov 21 2023 at 07:19, Paul E. McKenney wrote: > >> > > > On Tue, Nov 21, 2023 at 10:00:59AM -0500, Steven Rostedt wrote: > ... > >> > > 3) Looking at the initial problem Ankur was trying to solve there is > >> > > absolutely no acceptable solution to solve that unless you think > >> > > that the semantically invers 'allow_preempt()/disallow_preempt()' > >> > > is anywhere near acceptable. > >> > > >> > I am not arguing for allow_preempt()/disallow_preempt(), so for that > >> > argument, you need to find someone else to argue with. ;-) > >> > >> Anyway, there's still a long path before cond_resched() can be removed. It > >> was a mistake by Ankur to add those removals this early (and he has > >> acknowledged that mistake). > > > > OK, that I can live with. But that seems to be a bit different of a > > take than that of some earlier emails in this thread. ;-) > > Heh I think it's just that this thread goes to (far) too many places :). > > As Steven says, the initial series touching everything all together > was a mistake. V1 adds the new preemption model alongside the existing > ones locally defines cond_resched() as nop. > > That'll allow us to experiment and figure out where there are latency > gaps. Sounds very good! Again, I am very supportive of the overall direction. Devils and details and all that. ;-) Thanx, Paul