From: Vlastimil Babka <vbabka@suse.cz>
To: Xiu Jianfeng <xiujianfeng@huaweicloud.com>,
cl@linux.com, penberg@kernel.org, rientjes@google.com,
iamjoonsoo.kim@lge.com, akpm@linux-foundation.org,
roman.gushchin@linux.dev, 42.hyeyoo@gmail.com
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, xiujianfeng@huawei.com
Subject: Re: [PATCH -next] mm/slub: correct comment in do_slab_free()
Date: Thu, 4 Apr 2024 17:55:51 +0200 [thread overview]
Message-ID: <22c76c7d-3f5d-4fff-b527-ae3858d6aafe@suse.cz> (raw)
In-Reply-To: <20240325122217.273978-1-xiujianfeng@huaweicloud.com>
On 3/25/24 1:22 PM, Xiu Jianfeng wrote:
> From: Xiu Jianfeng <xiujianfeng@huawei.com>
>
> slab_alloc_node() should be __slab_alloc_node().
>
> Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Thanks, added to slab/for-next
> ---
> 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)) {
prev parent reply other threads:[~2024-04-04 15:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-25 12:22 Xiu Jianfeng
2024-04-04 15:55 ` Vlastimil Babka [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=22c76c7d-3f5d-4fff-b527-ae3858d6aafe@suse.cz \
--to=vbabka@suse.cz \
--cc=42.hyeyoo@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=cl@linux.com \
--cc=iamjoonsoo.kim@lge.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=penberg@kernel.org \
--cc=rientjes@google.com \
--cc=roman.gushchin@linux.dev \
--cc=xiujianfeng@huawei.com \
--cc=xiujianfeng@huaweicloud.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox