From 97e5a556869f4290b382362e1de903e7a8392688 Mon Sep 17 00:00:00 2001 From: Huacai Chen Date: Mon, 13 Oct 2025 17:56:20 +0800 Subject: [PATCH] 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 Signed-off-by: maoxiaochuan --- mm/Kconfig | 9 --------- 1 file changed, 9 deletions(-) diff --git a/mm/Kconfig b/mm/Kconfig index 774fd0bbe..bc0a74948 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -711,15 +711,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