summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-11-06 17:33:24 -0500
committerSuren Baghdasaryan <surenb@google.com>2023-04-30 23:12:12 +0000
commit5c742e258661924e4ed820d42189ede02c32f8d3 (patch)
treef03ff8bcd9962141243c853891178318646f8767 /mm
parent9f9a2d5ed69ab699e4d527cbe8cdd0586521dbab (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>
Diffstat (limited to 'mm')
-rw-r--r--mm/slub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 8f57fd086f69..9dd57b3384a1 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)
{