diff options
author | Wei Yang <richard.weiyang@gmail.com> | 2018-12-28 00:33:13 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-12-28 12:11:46 -0800 |
commit | 88349a2837fbaef83862a011e1f53c4551d3e199 (patch) | |
tree | ca3794d49f7c84ca93d9abff6986a7d7fb2ffd88 /include/linux/slab.h | |
parent | 6159d0f5c03e81daed29657e60383ee27f979b4a (diff) | |
download | lwn-88349a2837fbaef83862a011e1f53c4551d3e199.tar.gz lwn-88349a2837fbaef83862a011e1f53c4551d3e199.zip |
mm/slub.c: record final state of slub action in deactivate_slab()
If __cmpxchg_double_slab() fails and (l != m), current code records
transition states of slub action.
Update the action after __cmpxchg_double_slab() success to record the
final state.
[akpm@linux-foundation.org: more whitespace cleanup]
Link: http://lkml.kernel.org/r/20181107013119.3816-1-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: 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>
Diffstat (limited to 'include/linux/slab.h')
0 files changed, 0 insertions, 0 deletions