Skip to content

Commit b062539

Browse files
Xiu Jianfengtehcaster
authored andcommitted
mm/slub: correct comment in do_slab_free()
slab_alloc_node() should be __slab_alloc_node(). Signed-off-by: Xiu Jianfeng <[email protected]> Signed-off-by: Vlastimil Babka <[email protected]>
1 parent b1080c6 commit b062539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/slub.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4256,7 +4256,7 @@ static __always_inline void do_slab_free(struct kmem_cache *s,
42564256
c = raw_cpu_ptr(s->cpu_slab);
42574257
tid = READ_ONCE(c->tid);
42584258

4259-
/* Same with comment on barrier() in slab_alloc_node() */
4259+
/* Same with comment on barrier() in __slab_alloc_node() */
42604260
barrier();
42614261

42624262
if (unlikely(slab != c->slab)) {

0 commit comments

Comments
 (0)