Skip to contentSkip to conversation

mm-slub-mark-slab_free_freelist_hook-__always_inline.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Apr 26, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm/slub: mark slab_free_freelist_hook() __always_inline
has been removed from the -mm tree. Its filename was
mm-slub-mark-slab_free_freelist_hook-__always_inline.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Kent Overstreet <[email protected]>
Subject: mm/slub: mark slab_free_freelist_hook() __always_inline
Date: Thu, 21 Mar 2024 09:36:25 -0700

It seems we need to be more forceful with the compiler on this one. This is done for performance reasons only.

---

 mm/slub.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
mm/slub.c renamed from mm/slub.c~mm-slub-mark-slab_free_freelist_hook-__always_inline +3 -3
@@ -2106,9 +2106,9 @@ 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,
-					   void **head, void **tail,
-					   int *cnt)
+static __fastpath_inline
+bool slab_free_freelist_hook(struct kmem_cache *s, void **head, void **tail,
+			     int *cnt)
 {
 
 	void *object;

_

Patches currently in -mm which might be from [email protected] are