Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10584218rwp; Fri, 21 Jul 2023 01:19:18 -0700 (PDT) X-Google-Smtp-Source: APBJJlGeS9LQo/DlPIJKz5yT3IFY4aGxgvczScbzPHjVSj03E//EPpJd1kyou5sughsexA+WVSv2 X-Received: by 2002:aa7:c2ca:0:b0:51e:677:603f with SMTP id m10-20020aa7c2ca000000b0051e0677603fmr1021063edp.38.1689927558276; Fri, 21 Jul 2023 01:19:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689927558; cv=none; d=google.com; s=arc-20160816; b=ZBcrvMpnsgTt1OiyTdNfrKQdp9m9ynOP8DdLE8JQAaWVOTVpcm5xSiU1Xel1oOM73P u0hJojde4dI6bOTygTb91MJHwWUDZrpN+lQRXxiaYMec/jMWRa4FGRc/UfR8ZVvvu7hd aDZgiU3fcdgQbII0SB39SJ44+Cr6BygBQZ8dV3SyVZj8cCruglsmDTBb/7W9+bzC+HdZ 2yWNX2zOpE/bFPt+1Y8335QTpMlbc/wE7sVBPdI4FfDipqAeKTaptZUtAIggIY7u1pUE +U9cmaJERHsJUsfOnP1Pb8S3oDbame64KYtCD8z7cZ7ylHCWOsRPYjDeKU/KP1xDIgsP hX7A== 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 :message-id:date:subject:cc:to:from; bh=L64eBXzv0gNxRl0Suj0KuxY0hQJj6Z9Dd99jTjYZUvk=; fh=dqyPVSEtrTzyolOhNoD5isrr7S2Tn6sjznP8KmpBFJA=; b=G43uv/OqfSdG9z74WKG6tLGQBgRFRE9R9A2FCYUd1BJ8yRSAak4RYBOtce3LP58ktR CK9P3sF4lA1H26bhQDIOZvRj5cirfsraeZjlOH9bBKvcLK9Yf+UodcIB1gW78var24cw k+OYJhQQ+s7UYFJK92rnc4tvIwkvv2svyPrCW44NaLFbYc9Iymcr3rvhA55vuMc8dshn A4G7z3Kp5No1A5lOxqafVjAhXnurBb73ePVPc5SXiAYgy85kRLtKdPtYpQywe4lFQOMJ arnd3AkNR429SUNy9/Q6j9sEx43WEbDR7i1Fc2yxHBCAtNrYHLcy5H7io2cosZ9n4Ncu d9FA== 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 w13-20020aa7cb4d000000b0052176ba2183si2143113edt.40.2023.07.21.01.18.53; Fri, 21 Jul 2023 01:19:18 -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 S231311AbjGUIEY (ORCPT + 99 others); Fri, 21 Jul 2023 04:04:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230060AbjGUIEX (ORCPT ); Fri, 21 Jul 2023 04:04:23 -0400 Received: from dggsgout11.his.huawei.com (unknown [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A0332736; Fri, 21 Jul 2023 01:04:21 -0700 (PDT) Received: from mail02.huawei.com (unknown [172.30.67.143]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4R6hsY1DdQz4f3mHK; Fri, 21 Jul 2023 16:04:17 +0800 (CST) Received: from huaweicloud.com (unknown [10.174.178.55]) by APP4 (Coremail) with SMTP id gCh0CgA34qX_O7pk9KzbOQ--.39718S4; Fri, 21 Jul 2023 16:04:17 +0800 (CST) From: thunder.leizhen@huaweicloud.com To: "Paul E . McKenney" , Frederic Weisbecker , Neeraj Upadhyay , Joel Fernandes , Josh Triplett , Boqun Feng , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Zqiang , rcu@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Zhen Lei Subject: [PATCH 0/2] rcu: Simplify check_cpu_stall() Date: Fri, 21 Jul 2023 15:57:14 +0800 Message-Id: <20230721075716.857-1-thunder.leizhen@huaweicloud.com> X-Mailer: git-send-email 2.37.3.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgA34qX_O7pk9KzbOQ--.39718S4 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY27kC6x804xWl14x267AKxVW8JVW5JwAF c2x0x2IEx4CE42xK8VAvwI8IcIk0rVWUGVWUWwAFIxvE14AKwVWUJVWUGwA2ocxC64kIII 0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26F1j6w1UM28EF7xv wVC0I7IYx2IY6xkF7I0E14v26F4UJVW0owA2z4x0Y4vEx4A2jsIE14v26rxl6s0DM28EF7 xvwVC2z280aVCY1x0267AKxVW0oVCq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40E FcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Gr 0_Cr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JM4IIrI8v6xkF7I0E8cxa n2IY04v7M4kE6xkIj40Ew7xC0wCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJV W8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF 1VAFwI0_Jw0_GFylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6x IIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6rWUJVWrZr1UMIIF 0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxh VjvjDU0xZFpf9x07jjxRDUUUUU= X-CM-SenderInfo: hwkx0vthuozvpl2kv046kxt4xhlfz01xgou0bp/ X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 From: Zhen Lei Eliminate the duplicated code and comments. Zhen Lei (2): rcu: Delete a redundant check in check_cpu_stall() rcu: Simplify check_cpu_stall() kernel/rcu/tree_stall.h | 36 +++++++++++------------------------- 1 file changed, 11 insertions(+), 25 deletions(-) -- 2.25.1