From patchwork Mon Mar 25 12:22:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiu Jianfeng X-Patchwork-Id: 13601992 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 379EBC54E58 for ; Mon, 25 Mar 2024 12:28:18 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 93AE06B0082; Mon, 25 Mar 2024 08:28:17 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8C3566B0083; Mon, 25 Mar 2024 08:28:17 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7661C6B0085; Mon, 25 Mar 2024 08:28:17 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 6379E6B0082 for ; Mon, 25 Mar 2024 08:28:17 -0400 (EDT) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 311071C05C6 for ; Mon, 25 Mar 2024 12:28:17 +0000 (UTC) X-FDA: 81935489034.16.C28D454 Received: from dggsgout11.his.huawei.com (unknown [45.249.212.51]) by imf23.hostedemail.com (Postfix) with ESMTP id 465C6140010 for ; Mon, 25 Mar 2024 12:28:13 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=none; dmarc=none; spf=none (imf23.hostedemail.com: domain of xiujianfeng@huaweicloud.com has no SPF policy when checking 45.249.212.51) smtp.mailfrom=xiujianfeng@huaweicloud.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1711369695; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references; bh=BR3yLN+32N9VY1H2SXuhWX2rc6301fuHuqEdRY/dISU=; b=ga/oEfej0pww2ul5AXaqGxep3yOXw3mmrmy9VIUKE1LMZTc2BA81j5RTty+zxCRt8hxUgA ddl1jSE/sxNmDH63MIA7WX6AtMYqbCtRHvdd1I6e/IogTHjkHA11j8e04n/eYmaNObmYmQ EuSJwoi00YhFnOW0bAMi+Cn0LHv320k= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=none; dmarc=none; spf=none (imf23.hostedemail.com: domain of xiujianfeng@huaweicloud.com has no SPF policy when checking 45.249.212.51) smtp.mailfrom=xiujianfeng@huaweicloud.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1711369695; a=rsa-sha256; cv=none; b=PkYVmrBkx5kBdBdS+FhPvcpuVTo7YB7rKmKgegqqfnqwSGtu0KbC9Rlr1su80eJ2ucaVTY 1k6ixtAfK23iJoDkMdpSj/qgcw68wR7DA0mTM2cd2JBtE1hnfJnW5BxL7rESZoAarAzq88 C3hYE5EU2eoXVX5t80BxadP2OZdxVbA= Received: from mail.maildlp.com (unknown [172.19.163.235]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4V3BzT0GZ0z4f3jkm for ; Mon, 25 Mar 2024 20:28:05 +0800 (CST) Received: from mail02.huawei.com (unknown [10.116.40.112]) by mail.maildlp.com (Postfix) with ESMTP id 0C02E1A0B61 for ; Mon, 25 Mar 2024 20:28:09 +0800 (CST) Received: from huaweicloud.com (unknown [10.67.174.26]) by APP1 (Coremail) with SMTP id cCh0CgAX6RHXbQFmlg4nIA--.47806S4; Mon, 25 Mar 2024 20:28:08 +0800 (CST) From: Xiu Jianfeng To: cl@linux.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, vbabka@suse.cz, roman.gushchin@linux.dev, 42.hyeyoo@gmail.com Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, xiujianfeng@huawei.com Subject: [PATCH -next] mm/slub: correct comment in do_slab_free() Date: Mon, 25 Mar 2024 12:22:17 +0000 Message-Id: <20240325122217.273978-1-xiujianfeng@huaweicloud.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CM-TRANSID: cCh0CgAX6RHXbQFmlg4nIA--.47806S4 X-Coremail-Antispam: 1UD129KBjvdXoWrZF43GrWDtw1fZFyUCF43trb_yoWxCFX_C3 W8XFWxZw18AFn7KrZ8AFs7XrnIkw4kWryYkF4fC345Jw17trWkJws7Wr1fArW8ZrW7t3s8 CanF9rZI9rsF9jkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb7AYFVCjjxCrM7AC8VAFwI0_Gr0_Xr1l1xkIjI8I6I8E6xAIw20E Y4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28CjxkF64kEwV A0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW5JVW7JwA2z4x0Y4vE2Ix0cI8IcVCY1x02 67AKxVWxJVW8Jr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIEc7CjxV AFwI0_GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2 j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7x kEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwACI402YVCY1x02628vn2kIc2xKxwCF04k20xvY 0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I 0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij64vIr41lIxAI cVC0I7IYx2I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pc1sHV9yunPs5ZvQ0LJkZ9+onixbFNKUNzRs3EfivJCCcnTskfABFR3n9kgNnqGyPA+cpByRZS8xaeuSK9l1Xo1kBZ842KxBFjTfVxPL6YNzeCJg8m9XXhPOW6tjgGa6m7C26zpkbAMZypmML3pgzYkO0MS/TlEaJHblQpo/TE0Hp49yD6iGHNcprze00JeI5X3HS6YgI+qv0pA4PFSDGeirkxH2cnQbtG14mhuHPMCcyYZaTVQrcmuMdPqSLfAk2h9W s4VrXSv7 gosC22febRUbmKIwIKSYIDW4YfUU11y15vgP7x3q5L5J15/zaJRuyv/XliG+PUg343I8yqcHjBNBe7i4DqsZskyx7P8stdSwGWx/yWFQVmxZBGWardjCHgrozw1M2MwRaZUjQ8+2NXoym6pIaMNasj+szpsh0BfecZFaOE3kx7W7a19GDrtD6aIpNQxGAKyLgSjRNcag+yBIsYcfB7PjhYLPp1aoFVXM+HBLQTMD/wgITJN3wxJQo9ApSW94F8dRKhf84kqyauYoLZst9oo/X2MjniKxtTJx2q+XzNIsO2KkFGt9OXht4OU0igg== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: From: Xiu Jianfeng slab_alloc_node() should be __slab_alloc_node(). Signed-off-by: Xiu Jianfeng --- mm/slub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/slub.c b/mm/slub.c index 7b68a3451eb9..33ac769a69b9 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -4446,7 +4446,7 @@ static __always_inline void do_slab_free(struct kmem_cache *s, c = raw_cpu_ptr(s->cpu_slab); tid = READ_ONCE(c->tid); - /* Same with comment on barrier() in slab_alloc_node() */ + /* Same with comment on barrier() in __slab_alloc_node() */ barrier(); if (unlikely(slab != c->slab)) {