summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-11-06 17:33:24 -0500
committerSuren Baghdasaryan <surenb@google.com>2023-03-13 15:11:34 +0000
commite56c5673d0aa90ca47370db0947fd5d2b39d42c5 (patch)
treec1fb2eb9b0d7cb687007fabd6f3a0e9a05d51ba5
parentdbcc48e0854facc647430fd082f39f64833bbad5 (diff)
mm/slub: Mark slab_free_freelist_hook() __always_inline
It seems we need to be more forceful with the compiler on this one. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev> Signed-off-by: Suren Baghdasaryan <surenb@google.com>
-rw-r--r--mm/slub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 1e9bfae3ef4a..acdaee165dd5 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1781,7 +1781,7 @@ static __always_inline bool slab_free_hook(struct kmem_cache *s,
return kasan_slab_free(s, x, init);
}
-static inline bool slab_free_freelist_hook(struct kmem_cache *s,
+static __always_inline bool slab_free_freelist_hook(struct kmem_cache *s,
void **head, void **tail,
int *cnt)
{