Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5363334rwd; Wed, 24 May 2023 00:08:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5reyWLE5xSfHfnYx4y13DgUhEE/qGP3yC0NvxjKHUUfdEenp3yTLZ2ejBKhO6Cw7NJ5SjC X-Received: by 2002:a05:6a00:1883:b0:643:d40c:7db1 with SMTP id x3-20020a056a00188300b00643d40c7db1mr1869386pfh.3.1684912099529; Wed, 24 May 2023 00:08:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684912099; cv=none; d=google.com; s=arc-20160816; b=ExF7uR0MEq3DgygBSFJpaQufce2yiReOeRMnJ9PhZHY6caPCCSHW6m6Rd1qJx5quCC iXqxajhtYzxw9AF4oHuNANNQ/ocxeq6lybGcJQfewD7BVTwPpm9XqWu6UIutdkXbIVrE TzNITuQhxL6YvV39cfnUYiU4eMoaB9WvBor+zhHhNh08d+lb4aFU4RviJJIYmK/+VPHD BGqbTRvCm8EBv2o40coIsHUg35WmyaFd2O3mJJ99OmFt2QnLIxWftYzLKcWxB7xUckGZ z1jSCG9SUy/VSn8LzfZjCzdYTmgQ1CJ1M9B7XGX+O+JSvqV0c3yibaRKKmMcDqLZQpM1 5FGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=PM41c9TsR1jXNrWK57rKel52zJJvyUUkIN+hQJFYBqk=; b=rBaYSBeI5UhwyGdFIB6WZayGMIxamRrTaCTyCAyWOWwdsx2WL2zSwxX+8IylfSYceD VZRG3Ts0R9ikH097RA3zYkbcx8+LYZMGrPXsPQdSh3gJSRG1mkefyN1wsQh8llFC2Xx7 Shrg98urb10DDDV86+qPVmLweczP8dOH9YY1yd1XLy1U2PwZHz+pYGlgmEMVMbuJxUiN Wm+vtcXPKBbvnNIGUeZAUpblGZbZsM8OG70uS3IB4uatmMqEgCUt8P4M6i+Ef51BOCdf EHtpNwbfKxZnXAcDzHqLwoxC/R60LYDzrKp8qFrHuweLHIIZpphIL1XRP2sLRRK7/azM uNxQ== 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 s188-20020a625ec5000000b0064ca7ac8938si7936118pfb.166.2023.05.24.00.08.07; Wed, 24 May 2023 00:08:19 -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 S239782AbjEXG6C (ORCPT + 99 others); Wed, 24 May 2023 02:58:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239779AbjEXG5a (ORCPT ); Wed, 24 May 2023 02:57:30 -0400 Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C39F1A7; Tue, 23 May 2023 23:57:09 -0700 (PDT) Received: from mail02.huawei.com (unknown [172.30.67.143]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4QR26n3Hwrz4f41V7; Wed, 24 May 2023 14:57:05 +0800 (CST) Received: from [10.67.110.112] (unknown [10.67.110.112]) by APP1 (Coremail) with SMTP id cCh0CgBHsixBtW1kQx8JJg--.55618S2; Wed, 24 May 2023 14:57:06 +0800 (CST) Message-ID: Date: Wed, 24 May 2023 14:57:05 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH -next] cgroup: Remove out-of-date comment in cgroup_migrate() Content-Language: en-US To: Tejun Heo Cc: lizefan.x@bytedance.com, hannes@cmpxchg.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230523111456.146053-1-xiujianfeng@huaweicloud.com> From: Xiu Jianfeng In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-CM-TRANSID: cCh0CgBHsixBtW1kQx8JJg--.55618S2 X-Coremail-Antispam: 1UD129KBjvdXoWrZr48tFy7JrWUCrWrKFyfWFg_yoWxuFc_Wr 4jv3y8Zr95W3W7Kr1SvF4fZFn5Gr15Wr15Gw4Fka43u3WUta4rXFn7CF9aqrWrXFsF9wn8 CFnYv3yUXr12yjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbzAYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20E Y4v20xvaj40_JFC_Wr1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28CjxkF64kEwV A0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWDJVCq3wA2z4x0Y4vE2Ix0cI8IcVCY1x02 67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK6I8E87Iv6xkF7I 0E14v26rxl6s0DM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE6c02F40E x7xfMcIj6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x 0Yz7v_Jr0_Gr1lF7xvr2IY64vIr41lc7I2V7IY0VAS07AlzVAYIcxG8wCF04k20xvY0x0E wIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E74 80Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcVC0 I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04 k26cxKx2IYs7xG6Fyj6rWUJwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF 7I0E14v26r4j6r4UJbIYCTnIWIevJa73UjIFyTuYvjxUzsqWUUUUU X-CM-SenderInfo: x0lxyxpdqiv03j6k3tpzhluzxrxghudrp/ X-CFilter-Loop: Reflected X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 On 2023/5/24 3:09, Tejun Heo wrote: > On Tue, May 23, 2023 at 07:14:56PM +0800, Xiu Jianfeng wrote: >> From: Xiu Jianfeng >> >> Commit 674b745e22b3 ("cgroup: remove rcu_read_lock()/rcu_read_unlock() >> in critical section of spin_lock_irq()") has removed the rcu_read_lock, >> which makes the comment out-of-date, so remove it. >> >> Signed-off-by: Xiu Jianfeng > > So, that removed rcu_read_lock() because it's implied by the irq disable but > the comment content is still useful in describing what's preventing > use-after-free. Can you please update the comment accordingly instead? sure, I would send a v2. > > Thanks. >