summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-11-06 17:33:24 -0500
committerSuren Baghdasaryan <surenb@google.com>2024-02-11 10:45:52 -0800
commit352ef6e65494e637c70a0b130d7ae97a2dbfa087 (patch)
treef952373264702f77ff5521f4f9157be63bc8e1ab
parent478f44b44133c8d91d2da1135bcbf0fee6c9d2c9 (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 9ea03d6e9c9d..4d480784942e 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -2124,7 +2124,7 @@ bool slab_free_hook(struct kmem_cache *s, void *x, bool init)
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)
{