diff options
author | Vlastimil Babka <vbabka@suse.cz> | 2023-05-23 10:26:35 +0300 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2023-05-24 16:38:17 +0300 |
commit | d2e527f0d8d1124b1fab93e2e7b2c6a114c0e5a2 (patch) | |
tree | dcb50532d07591052402090550cde585d8b055df /mm/Kconfig | |
parent | 8040cbf5e1da2fe86558239b92927a947c79ecd6 (diff) | |
download | linux-d2e527f0d8d1124b1fab93e2e7b2c6a114c0e5a2.tar.xz |
mm/slab: remove HAVE_HARDENED_USERCOPY_ALLOCATOR
With SLOB removed, both remaining allocators support hardened usercopy,
so remove the config and associated #ifdef.
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Lorenzo Stoakes <lstoakes@gmail.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: David Rientjes <rientjes@google.com>
Acked-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Diffstat (limited to 'mm/Kconfig')
-rw-r--r-- | mm/Kconfig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/Kconfig b/mm/Kconfig index 7672a22647b4..041f0da42f2b 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -221,7 +221,6 @@ choice config SLAB bool "SLAB" depends on !PREEMPT_RT - select HAVE_HARDENED_USERCOPY_ALLOCATOR help The regular slab allocator that is established and known to work well in all environments. It organizes cache hot objects in @@ -229,7 +228,6 @@ config SLAB config SLUB bool "SLUB (Unqueued Allocator)" - select HAVE_HARDENED_USERCOPY_ALLOCATOR help SLUB is a slab allocator that minimizes cache line usage instead of managing queues of cached objects (SLAB approach). |