mm/slub: Convert __slab_lock() and __slab_unlock() to struct slab
authorVlastimil Babka <vbabka@suse.cz>
Tue, 26 Oct 2021 11:39:14 +0000 (13:39 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Thu, 6 Jan 2022 11:26:01 +0000 (12:26 +0100)
commit0393895b091227e8a77dfd5e6a6ab61bd11b8df0
tree301a3de9914cac0dae2971692ff7300f023648f6
parentd835eef4fc26241258c524cb32b91cbb3551ca62
mm/slub: Convert __slab_lock() and __slab_unlock() to struct slab

These functions operate on the PG_locked page flag, but make them accept
struct slab to encapsulate this implementation detail.

Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Roman Gushchin <guro@fb.com>
mm/slub.c