]> git.baikalelectronics.ru Git - kernel.git/commit
mm, slub: make the comment of put_cpu_partial() complete
authorWei Yang <richard.weiyang@gmail.com>
Tue, 5 Mar 2019 23:43:10 +0000 (15:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 6 Mar 2019 05:07:15 +0000 (21:07 -0800)
commit0532fdddb52ffd3590638925b8ea53d75f2d046f
treee28d30313e43c2b776bbf3a512816c7196b1d5d5
parent62249ea9b2e613f6ee85d01de2424136e9081b4c
mm, slub: make the comment of put_cpu_partial() complete

There are two cases when put_cpu_partial() is invoked.

    * __slab_free
    * get_partial_node

This patch just makes it cover these two cases.

Link: http://lkml.kernel.org/r/20181025094437.18951-3-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Acked-by: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slub.c