Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4570546rwb; Sat, 10 Dec 2022 10:41:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf7dX6GA1N3QXoGTqJ/EsFr8SfyG0GjGsgRWHRqctMtM1pJnkM75sY3nOKLPz3kzdngIxN1X X-Received: by 2002:a17:906:6a18:b0:7b2:a54b:53fe with SMTP id qw24-20020a1709066a1800b007b2a54b53femr15324198ejc.65.1670697690627; Sat, 10 Dec 2022 10:41:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670697690; cv=none; d=google.com; s=arc-20160816; b=wo8YMl9A6yMto0R7K2AbthyXkQEarYYQtkVJ1fWtojhfMQHI6ReRcdwDR2Z89G1BzZ YuyeJsw65fkAjDofKigLba0+vTpot5JL45anEp4N5dCdmqSP7+NK9cXjtlJBjWXZx9Fr L78/bu7+ni0B3qEgFoNnlX5e74wnSGOjD9Gva0eD9TrB8YUOA2sPM6jzWSA99GCDIt/c NVwlrvKKZJQUSrcNs8Cy4z7nDBPT7nxGQ6kKQhPvqRODSVHsKvNw9b4IzVfnpDjAg3Gj clpLw+s1OgrohPVOmCmeb8n/kN0IqRgCTsMOJ8a38Esqh9/HKYYFha4cyVw6iO3U5G7a fvgg== 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=f5VlmoI6Kp+v0CsjSCyCTwqcCjFN7LMQIgi0h7yGLuI=; b=euCe3vpeKqciIyctwJNB43qZG1xxw3iSeixbNpFacV/rdHVxnmDmuIDzFUCn4Bgx0f bqOe/O+M5OyvEAy5W8NrdDqayhugAF0qWS+EWFlaWq3sx9e9Vtrkb/wRPlhDhULK89+c 5NPgmwTv/VYrJ/07O5RWITRIKI5NJfabrd964UEU6F0LxLTTd8Fq+maUl+ImsVElqOtg I2zC1tbEqrg+qGc4pU8b+mG1AB5Hj8ke4MUblKo1mzonfudJqx8x1Y0Sh/cSiiQFhip3 n1s8DFyPAosCqSfMXOOQetoQ8E/OtdQkJJ6wKo38H3mHBQo5xPE9mI5yQnBf3U1C2Y3j 92vw== 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 g8-20020a1709064e4800b007be3aa82544si2082238ejw.937.2022.12.10.10.41.10; Sat, 10 Dec 2022 10:41:30 -0800 (PST) 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 S229665AbiLJSei (ORCPT + 76 others); Sat, 10 Dec 2022 13:34:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbiLJSef (ORCPT ); Sat, 10 Dec 2022 13:34:35 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E65621114C for ; Sat, 10 Dec 2022 10:34:33 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id EC6D2B808C3 for ; Sat, 10 Dec 2022 18:34:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65341C433D2; Sat, 10 Dec 2022 18:34:29 +0000 (UTC) Date: Sat, 10 Dec 2022 13:34:25 -0500 From: Steven Rostedt To: "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, Masami Hiramatsu , Andrew Morton , Karol Herbst , Pekka Paalanen , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov Subject: Re: [for-next][PATCH 13/25] x86/mm/kmmio: Use rcu_read_lock_sched_notrace() Message-ID: <20221210133425.4657985e@gandalf.local.home> In-Reply-To: <20221210174753.GD4001@paulmck-ThinkPad-P17-Gen-1> References: <20221210135750.425719934@goodmis.org> <20221210135825.241167123@goodmis.org> <20221210174753.GD4001@paulmck-ThinkPad-P17-Gen-1> X-Mailer: Claws Mail 3.17.8 (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=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Sat, 10 Dec 2022 09:47:53 -0800 "Paul E. McKenney" wrote: > > Note, the preempt_disable() is still needed as it uses preempt_enable_no_resched(). > > ... > Executable code can be the best form of comment. ;-) > > This does mess with preempt_count() redundantly, but the overhead from > that should be way down in the noise. I was going to remove it, but then I realized that it would be a functional change, as from the comment above, it uses "preempt_enable_no_resched(), which there is not a rcu_read_unlock_sched() variant. > > Acked-by: Paul E. McKenney Thanks! I'll add this to the commit. -- Steve