]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm, slab: move allocation tagging code in the alloc path into a hook
authorSuren Baghdasaryan <surenb@google.com>
Thu, 4 Jul 2024 13:59:41 +0000 (06:59 -0700)
committerVlastimil Babka <vbabka@suse.cz>
Thu, 4 Jul 2024 14:14:38 +0000 (16:14 +0200)
commit302a3ea38aec5ecee773aa4e5478aaa576919bb4
tree8b35d0474f958cad7b154bbba6069c7fd47bae5c
parent22a40d14b572deb80c0648557f4bd502d7e83826
mm, slab: move allocation tagging code in the alloc path into a hook

Move allocation tagging specific code in the allocation path into
alloc_tagging_slab_alloc_hook, similar to how freeing path uses
alloc_tagging_slab_free_hook. No functional changes, just code
cleanup.

Suggested-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/slub.c