From patchwork Tue Aug 1 12:40:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miaohe Lin X-Patchwork-Id: 129297 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp2654293vqg; Tue, 1 Aug 2023 06:06:21 -0700 (PDT) X-Google-Smtp-Source: APBJJlF6lOx0wlQR9xRC0WAcbyf86R8Br+1jzYqx9g9hxG17pUgYaetKVdJt/fmUP5+nvJgSMI4e X-Received: by 2002:a17:902:9049:b0:1af:aafb:64c8 with SMTP id w9-20020a170902904900b001afaafb64c8mr11861330plz.21.1690895181011; Tue, 01 Aug 2023 06:06:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690895180; cv=none; d=google.com; s=arc-20160816; b=t8U2lxc90CU3mOPUsy7D09J7lXQDF+w4GhuaBjvqn5AW5UFY4MhhukWbVqG2FZXSWa jcOz+Yp2yje3GQYAvnuU79RzaCwHs4qXxxRhhlINhtxvp3R3Atr9s//v4s3C59C6Zs/7 tJ5FlmwBpe2tCMxAcgw6SD1Nz6GnXxSZVtE2/AsMxIW33iM3RyB2VV88PqJI9G2MMv+E K63ZNz8WkwhTpZ6KueZpOwJsc4jqR/b7GInWi2fdzu5NHvYW4ywppUVgEGIYfAYdgliR SbIzUqe8iSDRCANTok174ZJsiBW45F2k/ONKSTfMTKVTRF92Ife7O2WjmYZh/NM/CUQb DjWg== 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=eENpwIHvsJ0VEXks+G8sTxJe574OFTmBCg6Sl2UdGeM=; fh=pZWOv2pRkfQFUJ1QSi9xw43l3YtSwTmReJZNUnZfmEA=; b=FQLzIqPtSkX5EwSMk2wlzYY7R7or4LfUVCfvzIRUN/hl6fb+PzFy9NqGw7aX/eu4qo ALRur9kgOdDj3U9tffs/Bzirw07yOZXP+rXmq2KesK4GAahnH/XliU5jkL29do/d1aDb Yw1c1HhIe3cpy+/ryEtd/NbVtlbVdF/4Z06BXN02s15CZRrNdWDQhVtphE+nMqxC+tV0 6EiU5zyqVkf9NFdhD0KzJsFOWcsMSbO1jJbpsDURxvgSNqhhX1kH3gmlFVOtp4qno9sT 8V3vg9qihTKmoqDjCCp7T+BeqvSamraGDeAdPPwpfyviV57ZJzIJrx5xlQ71fflQq7+2 rR2A== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id le5-20020a170902fb0500b001b8970a2b15si9032912plb.86.2023.08.01.06.06.06; Tue, 01 Aug 2023 06:06: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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233272AbjHAMkw (ORCPT + 99 others); Tue, 1 Aug 2023 08:40:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232498AbjHAMkv (ORCPT ); Tue, 1 Aug 2023 08:40:51 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4B68C3; Tue, 1 Aug 2023 05:40:50 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RFZSK5gGmzrS57; Tue, 1 Aug 2023 20:39:45 +0800 (CST) Received: from huawei.com (10.174.151.185) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 1 Aug 2023 20:40:46 +0800 From: Miaohe Lin To: , , CC: , , Subject: [PATCH] cgroup: fix obsolete function name above css_free_rwork_fn() Date: Tue, 1 Aug 2023 20:40:34 +0800 Message-ID: <20230801124034.2245419-1-linmiaohe@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-Originating-IP: [10.174.151.185] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773032105256460235 X-GMAIL-MSGID: 1773032105256460235 Since commit 8f36aaec9c92 ("cgroup: Use rcu_work instead of explicit rcu and work item"), css_free_work_fn has been renamed to css_free_rwork_fn. Update corresponding comment. Signed-off-by: Miaohe Lin --- kernel/cgroup/cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index c7aafb59ecf2..d620d7ec47e8 100644 --- a/kernel/cgroup/cgroup.c +++ b/kernel/cgroup/cgroup.c @@ -5301,7 +5301,7 @@ static struct cftype cgroup_psi_files[] = { * RCU callback. * * 4. After the grace period, the css can be freed. Implemented in - * css_free_work_fn(). + * css_free_rwork_fn(). * * It is actually hairier because both step 2 and 4 require process context * and thus involve punting to css->destroy_work adding two additional