Skip to content

Commit 632f54b

Browse files
committed
Merge tag 'slab-for-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab
Pull slab updates from Vlastimil Babka: - SLAB deprecation: Following the discussion at LSF/MM 2023 [1] and no objections, the SLAB allocator is deprecated by renaming the config option (to make its users notice) to CONFIG_SLAB_DEPRECATED with updated help text. SLUB should be used instead. Existing defconfigs with CONFIG_SLAB are also updated. - SLAB_NO_MERGE kmem_cache flag (Jesper Dangaard Brouer): There are (very limited) cases where kmem_cache merging is undesirable, and existing ways to prevent it are hacky. Introduce a new flag to do that cleanly and convert the existing hacky users. Btrfs plans to use this for debug kernel builds (that use case is always fine), networking for performance reasons (that should be very rare). - Replace the usage of weak PRNGs (David Keisar Schmidt): In addition to using stronger RNGs for the security related features, the code is a bit cleaner. - Misc code cleanups (SeongJae Parki, Xiongwei Song, Zhen Lei, and zhaoxinchao) Link: https://lwn.net/Articles/932201/ [1] * tag 'slab-for-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab: mm/slab_common: use SLAB_NO_MERGE instead of negative refcount mm/slab: break up RCU readers on SLAB_TYPESAFE_BY_RCU example code mm/slab: add a missing semicolon on SLAB_TYPESAFE_BY_RCU example code mm/slab_common: reduce an if statement in create_cache() mm/slab: introduce kmem_cache flag SLAB_NO_MERGE mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED mm/slab: remove HAVE_HARDENED_USERCOPY_ALLOCATOR mm/slab_common: Replace invocation of weak PRNG mm/slab: Replace invocation of weak PRNG slub: Don't read nr_slabs and total_objects directly slub: Remove slabs_node() function slub: Remove CONFIG_SMP defined check slub: Put objects_show() into CONFIG_SLUB_DEBUG enabled block slub: Correct the error code when slab_kset is NULL mm/slab: correct return values in comment for _kmem_cache_create()
2 parents bf1fa6f + 7bc162d commit 632f54b

File tree

143 files changed

+80
-240
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+80
-240
lines changed

arch/arc/configs/axs103_smp_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ CONFIG_EMBEDDED=y
1313
CONFIG_PERF_EVENTS=y
1414
# CONFIG_VM_EVENT_COUNTERS is not set
1515
# CONFIG_COMPAT_BRK is not set
16-
CONFIG_SLAB=y
1716
CONFIG_MODULES=y
1817
CONFIG_MODULE_FORCE_LOAD=y
1918
CONFIG_MODULE_UNLOAD=y

arch/arc/configs/haps_hs_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ CONFIG_BLK_DEV_INITRD=y
1414
CONFIG_EXPERT=y
1515
CONFIG_PERF_EVENTS=y
1616
# CONFIG_COMPAT_BRK is not set
17-
CONFIG_SLAB=y
1817
CONFIG_ARC_BUILTIN_DTB_NAME="haps_hs"
1918
CONFIG_MODULES=y
2019
# CONFIG_BLK_DEV_BSG is not set

arch/arc/configs/haps_hs_smp_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ CONFIG_EMBEDDED=y
1515
CONFIG_PERF_EVENTS=y
1616
# CONFIG_VM_EVENT_COUNTERS is not set
1717
# CONFIG_COMPAT_BRK is not set
18-
CONFIG_SLAB=y
1918
CONFIG_SMP=y
2019
CONFIG_ARC_BUILTIN_DTB_NAME="haps_hs_idu"
2120
CONFIG_KPROBES=y

arch/arc/configs/hsdk_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ CONFIG_EMBEDDED=y
1313
CONFIG_PERF_EVENTS=y
1414
# CONFIG_VM_EVENT_COUNTERS is not set
1515
# CONFIG_COMPAT_BRK is not set
16-
CONFIG_SLAB=y
1716
CONFIG_MODULES=y
1817
CONFIG_MODULE_UNLOAD=y
1918
CONFIG_ARC_SOC_HSDK=y

arch/arc/configs/tb10x_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ CONFIG_KALLSYMS_ALL=y
1919
CONFIG_EMBEDDED=y
2020
# CONFIG_COMPAT_BRK is not set
2121
CONFIG_ISA_ARCOMPACT=y
22-
CONFIG_SLAB=y
2322
CONFIG_MODULES=y
2423
CONFIG_MODULE_FORCE_LOAD=y
2524
CONFIG_MODULE_UNLOAD=y

arch/arm/configs/am200epdkit_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ CONFIG_MODULES=y
1515
CONFIG_MODULE_UNLOAD=y
1616
CONFIG_PARTITION_ADVANCED=y
1717
# CONFIG_SWAP is not set
18-
CONFIG_SLAB=y
1918
# CONFIG_VM_EVENT_COUNTERS is not set
2019
CONFIG_NET=y
2120
CONFIG_PACKET=m

arch/arm/configs/at91_dt_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ CONFIG_MODULES=y
2727
CONFIG_MODULE_UNLOAD=y
2828
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
2929
# CONFIG_SWAP is not set
30-
CONFIG_SLAB=y
3130
CONFIG_NET=y
3231
CONFIG_PACKET=y
3332
CONFIG_UNIX=y

arch/arm/configs/dove_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ CONFIG_VFP=y
1717
CONFIG_MODULES=y
1818
CONFIG_MODULE_UNLOAD=y
1919
CONFIG_PARTITION_ADVANCED=y
20-
CONFIG_SLAB=y
2120
CONFIG_NET=y
2221
CONFIG_PACKET=y
2322
CONFIG_UNIX=y

arch/arm/configs/ep93xx_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ CONFIG_MODULES=y
2424
CONFIG_MODULE_UNLOAD=y
2525
CONFIG_MODULE_FORCE_UNLOAD=y
2626
CONFIG_PARTITION_ADVANCED=y
27-
CONFIG_SLAB=y
2827
CONFIG_NET=y
2928
CONFIG_PACKET=y
3029
CONFIG_UNIX=y

arch/arm/configs/imx_v4_v5_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ CONFIG_KPROBES=y
2626
CONFIG_MODULES=y
2727
CONFIG_MODULE_UNLOAD=y
2828
# CONFIG_SWAP is not set
29-
CONFIG_SLAB=y
3029
# CONFIG_COMPAT_BRK is not set
3130
CONFIG_NET=y
3231
CONFIG_PACKET=y

0 commit comments

Comments
 (0)