diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-11-06 17:33:24 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-07-11 21:20:26 -0400 |
commit | d99e40df863cf26bf908e7c254f1f5c44b5bd233 (patch) | |
tree | 98f5096aa7f96bcd6555286f0598e0d7a31eb18c | |
parent | a5db0f38de8334e4944af50c92b5e6da8f665e1c (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c index 87a28b371b4f..768b0e29247d 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) { |