Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2607920rwp; Fri, 14 Jul 2023 08:34:20 -0700 (PDT) X-Google-Smtp-Source: APBJJlFvjVr1qNGf66rOreB3xIAjw0f/FtU17FKTjsfL1VXMDBShdL+cUOcoxv3Xc7DxiljTnNF7 X-Received: by 2002:a17:902:ce8e:b0:1b8:954c:1fb with SMTP id f14-20020a170902ce8e00b001b8954c01fbmr4476440plg.7.1689348860302; Fri, 14 Jul 2023 08:34:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689348860; cv=none; d=google.com; s=arc-20160816; b=ut1ciXD9JMr3+IdpApw69LJtb6vW0vNC1AHcDli3nF6Gka/FKkHGY6wbbI9w3FmNSA xXi7gSUzEajnQds74JKuYlFJ6kGuhAOfUHg41CoVK+1sjPJZDHOzpzbpDZHZsTV7xXYA WAh/8WX43CN/g6gD+l+VqHPkzDj5UIBqi5AMbV+MvbPbuIv/1uK9RJJGeunkkKmCS33c pmqjV7JD3cen7FDXfB86FzTzjbD+5OyXfyKXOBDWNCdxHv5mLJ5FucJHVaUiy30PYomf MxneuH+mi41c1j0wDbW8F1rABu63QHxLElWUSAmsGyLAeEdZk/JHDeqYH6bH1NAeVmbV mW1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=GanWv/qhphxEifkSCj5tVDmGktuIYb8hVRR/qpQN078=; fh=XXxOs3jAbilYN1gmR5BpDZwdeDvkd8H6JUJPBINhhRQ=; b=c3Py7Q8e6xNnAYGeBsJnelnY+D+lr8dn8nNBzc0Nb6Ojqb4HKJf4FRI2J01xu0I90D e8FymPllWXPjot4e1sHpXzPfTe+2F3mAbqzbVtPt6gi9ymHip/FS4OV0fXy84uYKzx5b YzPa5dP9G+NinljzeO9BF1JL4zewU0v/KWm+bwXtnjNMeyH6t3kQcCkkrnvdv9MVBEUR ldpv/+OZ1YPGgs7T7lna4DRRS2LQ+crK1F0Xte9kro2ZIMqpjGp8ra/4Fh863GFM6WZp Sf9SXviRCHgAStGjdT7EkBLoGwnWPEcrJNyqbbXlG3yxYATSmqOJHG9zr5zrhECTHleP 4rdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d13-20020a170902654d00b001b89cda5e12si7029602pln.546.2023.07.14.08.34.06; Fri, 14 Jul 2023 08:34:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236240AbjGNO4i (ORCPT + 99 others); Fri, 14 Jul 2023 10:56:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236206AbjGNO4f (ORCPT ); Fri, 14 Jul 2023 10:56:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDDE6359F; Fri, 14 Jul 2023 07:56:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 56D5461D43; Fri, 14 Jul 2023 14:56:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99B6CC433C7; Fri, 14 Jul 2023 14:56:18 +0000 (UTC) Date: Fri, 14 Jul 2023 10:56:15 -0400 From: Steven Rostedt To: Gao Xiang Cc: Joel Fernandes , paulmck@kernel.org, Sandeep Dhavale , Frederic Weisbecker , Neeraj Upadhyay , Josh Triplett , Boqun Feng , Mathieu Desnoyers , Lai Jiangshan , Zqiang , Matthias Brugger , AngeloGioacchino Del Regno , linux-erofs@lists.ozlabs.org, xiang@kernel.org, Will Shiu , kernel-team@android.com, rcu@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH v1] rcu: Fix and improve RCU read lock checks when !CONFIG_DEBUG_LOCK_ALLOC Message-ID: <20230714105615.1ff9b8d2@gandalf.local.home> In-Reply-To: References: <20230713003201.GA469376@google.com> <161f1615-3d85-cf47-d2d5-695adf1ca7d4@linux.alibaba.com> <0d9e7b4d-6477-47a6-b3d2-2c9d9b64903d@paulmck-laptop> <87292a44-cc02-4d95-940e-e4e31d0bc6f2@paulmck-laptop> <894a3b64-a369-7bc6-c8a8-0910843cc587@linux.alibaba.com> <58b661d0-0ebb-4b45-a10d-c5927fb791cd@paulmck-laptop> <7d433fac-a62d-4e81-b8e5-57cf5f2d1d55@paulmck-laptop> <058e7ee9-0380-eb1b-d9a8-b184cba6ed53@linux.alibaba.com> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 14 Jul 2023 21:51:16 +0800 Gao Xiang wrote: > >> we need to work on > >> CONFIG_PREEMPT_COUNT=n (why not?), we could just always trigger a > >> workqueue for this. > >> > > > > So CONFIG_PREEMPT_COUNT=n users don't deserve good performance? ;-) > > I'm not sure if non-preemptible kernel users really care about > such sensitive latencies, I don't know, my 2 cents. CONFIG_PREEMPT_COUNT=n is for *performance* but not for *latency*. That is, they care about the overall performance (batch processing) but not interactive performance. -- Steve