summaryrefslogtreecommitdiff
path: root/mm/slub.c
diff options
context:
space:
mode:
authorXiu Jianfeng <xiujianfeng@huawei.com>2024-03-25 12:22:17 +0000
committerVlastimil Babka <vbabka@suse.cz>2024-04-04 17:54:49 +0200
commitb062539c4e2f31ff346795ce32012e9e6300d212 (patch)
tree740d73442d0326d6c0d6a8ea0e520d72bbba9569 /mm/slub.c
parentb1080c667b3b2c8c38a7fa83ca5567124887abae (diff)
downloadlwn-b062539c4e2f31ff346795ce32012e9e6300d212.tar.gz
lwn-b062539c4e2f31ff346795ce32012e9e6300d212.zip
mm/slub: correct comment in do_slab_free()
slab_alloc_node() should be __slab_alloc_node(). Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com> Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'mm/slub.c')
-rw-r--r--mm/slub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c
index a9b1337e81c2..f4fd460854fd 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -4256,7 +4256,7 @@ redo:
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)) {