mirror of
https://github.com/torvalds/linux
synced 2024-10-14 23:39:09 +00:00
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>
This commit is contained in:
parent
b1080c667b
commit
b062539c4e
|
@ -4256,7 +4256,7 @@ static __always_inline void do_slab_free(struct kmem_cache *s,
|
||||||
c = raw_cpu_ptr(s->cpu_slab);
|
c = raw_cpu_ptr(s->cpu_slab);
|
||||||
tid = READ_ONCE(c->tid);
|
tid = READ_ONCE(c->tid);
|
||||||
|
|
||||||
/* Same with comment on barrier() in slab_alloc_node() */
|
/* Same with comment on barrier() in __slab_alloc_node() */
|
||||||
barrier();
|
barrier();
|
||||||
|
|
||||||
if (unlikely(slab != c->slab)) {
|
if (unlikely(slab != c->slab)) {
|
||||||
|
|
Loading…
Reference in a new issue