aboutsummaryrefslogtreecommitdiff
path: root/include/linux/slab.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org> 2022-03-23 12:33:21 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org> 2022-03-23 12:33:21 -0700
commitc5c009e2503d4c027591c65b49a98f420cb4fa56 (patch)
treec7ae51ab798d8f0e348b84cc1369ed4c3567080a /include/linux/slab.h
parentMerge tag 'trace-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/rost... (diff)
parentMerge branch 'slab/for-5.18/cleanups' into slab/for-linus (diff)
downloadlinux-c5c009e2503d4c027591c65b49a98f420cb4fa56.tar.gz
linux-c5c009e2503d4c027591c65b49a98f420cb4fa56.tar.bz2
linux-c5c009e2503d4c027591c65b49a98f420cb4fa56.zip
Merge tag 'slab-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab
Pull slab updates from Vlastimil Babka: - A few non-trivial SLUB code cleanups, most notably a refactoring of deactivate_slab(). - A bunch of trivial changes, such as removal of unused parameters, making stuff static, and employing helper functions. * tag 'slab-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab: mm: slub: Delete useless parameter of alloc_slab_page() mm: slab: Delete unused SLAB_DEACTIVATED flag mm/slub: remove forced_order parameter in calculate_sizes mm/slub: refactor deactivate_slab() mm/slub: limit number of node partial slabs only in cache creation mm/slub: use helper macro __ATTR_XX_MODE for SLAB_ATTR(_RO) mm/slab_common: use helper function is_power_of_2() mm/slob: make kmem_cache_boot static
Diffstat (limited to 'include/linux/slab.h')
-rw-r--r--include/linux/slab.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/slab.h b/include/linux/slab.h
index e6addaf91afd..373b3ef99f4e 100644
--- a/include/linux/slab.h
+++ b/include/linux/slab.h
@@ -117,9 +117,6 @@
#define SLAB_RECLAIM_ACCOUNT ((slab_flags_t __force)0x00020000U)
#define SLAB_TEMPORARY SLAB_RECLAIM_ACCOUNT /* Objects are short-lived */
-/* Slab deactivation flag */
-#define SLAB_DEACTIVATED ((slab_flags_t __force)0x10000000U)
-
/*
* ZERO_SIZE_PTR will be returned for zero sized kmalloc requests.
*