Skip to content

Commit 3065c20

Browse files
committed
Merge branch 'slab/for-6.19/sheaves_cleanups' into slab/for-next
Merge series "slab: preparatory cleanups before adding sheaves to all caches" [1] Cleanups that were written as part of the full sheaves conversion, which is not fully ready yet, but they are useful on their own. Link: https://lore.kernel.org/all/20251105-sheaves-cleanups-v1-0-b8218e1ac7ef@suse.cz/ [1]
2 parents 8ad018d + 6adf4b1 commit 3065c20

3 files changed

Lines changed: 173 additions & 166 deletions

File tree

include/linux/gfp_types.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ enum {
5555
#ifdef CONFIG_LOCKDEP
5656
___GFP_NOLOCKDEP_BIT,
5757
#endif
58-
#ifdef CONFIG_SLAB_OBJ_EXT
5958
___GFP_NO_OBJ_EXT_BIT,
60-
#endif
6159
___GFP_LAST_BIT
6260
};
6361

@@ -98,11 +96,7 @@ enum {
9896
#else
9997
#define ___GFP_NOLOCKDEP 0
10098
#endif
101-
#ifdef CONFIG_SLAB_OBJ_EXT
10299
#define ___GFP_NO_OBJ_EXT BIT(___GFP_NO_OBJ_EXT_BIT)
103-
#else
104-
#define ___GFP_NO_OBJ_EXT 0
105-
#endif
106100

107101
/*
108102
* Physical address zone modifiers (see linux/mmzone.h - low four bits)

mm/slab.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,8 @@ struct kmem_cache_order_objects {
236236
* Slab cache management.
237237
*/
238238
struct kmem_cache {
239-
#ifndef CONFIG_SLUB_TINY
240239
struct kmem_cache_cpu __percpu *cpu_slab;
241240
struct lock_class_key lock_key;
242-
#endif
243241
struct slub_percpu_sheaves __percpu *cpu_sheaves;
244242
/* Used for retrieving partial slabs, etc. */
245243
slab_flags_t flags;

0 commit comments

Comments
 (0)