summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-11-06 17:33:24 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2022-12-02 18:07:52 -0500
commit8f7dbb2e8757d09818a1fda4886a083c39588982 (patch)
tree024e9cac35b22ac43f2638d5c62fd29234410fed
parent99c3b39ab0cd39a258aaedd542375a5dd2bf4c42 (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>
-rw-r--r--mm/slub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 435bc27262c1..d0baffb9d9a6 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1725,7 +1725,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)
{