From: Huacai Chen Date: Mon, 13 Oct 2025 09:56:20 +0000 (+0800) Subject: mm: remove the BOUNCE config option X-Git-Tag: v6.19-rc1~112^2~280 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=900fcf00e16844423aa2b08c4999c5773a7a29ec;p=thirdparty%2Fkernel%2Flinux.git mm: remove the BOUNCE config option Commit eeadd68e2a5f ("block: remove bounce buffering support") remove block/bounce.c but left the BOUNCE config option. Now this option has no users, so remove it. Link: https://lkml.kernel.org/r/20251013095620.1111061-1-chenhuacai@loongson.cn Signed-off-by: Huacai Chen Acked-by: David Hildenbrand Acked-by: Jens Axboe Reviewed-by: Christoph Hellwig Reviewed-by: Anshuman Khandual Cc: Hannes Reinecke Cc: Johannes Thumshirn Cc: John Garry Signed-off-by: Andrew Morton --- diff --git a/mm/Kconfig b/mm/Kconfig index ca3f146bc7053..4971436c86974 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -695,15 +695,6 @@ config PCP_BATCH_SCALE_MAX config PHYS_ADDR_T_64BIT def_bool 64BIT -config BOUNCE - bool "Enable bounce buffers" - default y - depends on BLOCK && MMU && HIGHMEM - help - Enable bounce buffers for devices that cannot access the full range of - memory available to the CPU. Enabled by default when HIGHMEM is - selected, but you may say n to override this. - config MMU_NOTIFIER bool select INTERVAL_TREE