[PATCH] mm: Remove the BOUNCE config option

Huacai Chen posted 1 patch 3 months, 4 weeks ago
mm/Kconfig | 9 ---------
1 file changed, 9 deletions(-)
[PATCH] mm: Remove the BOUNCE config option
Posted by Huacai Chen 3 months, 4 weeks ago
Commit eeadd68e2a5f6bfe0bf10 ("block: remove bounce buffering support")
remove block/bounce.c but left the BOUNCE config option. Now this option
has no users, so remove it.

Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
---
 mm/Kconfig | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/mm/Kconfig b/mm/Kconfig
index 0e26f4fc8717..e47321051d76 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
-- 
2.47.3
Re: [PATCH] mm: Remove the BOUNCE config option
Posted by Jens Axboe 3 months, 3 weeks ago
On 10/13/25 3:56 AM, Huacai Chen wrote:
> Commit eeadd68e2a5f6bfe0bf10 ("block: remove bounce buffering support")
> remove block/bounce.c but left the BOUNCE config option. Now this option
> has no users, so remove it.

Acked-by: Jens Axboe <axboe@kernel.dk>

-- 
Jens Axboe
Re: [PATCH] mm: Remove the BOUNCE config option
Posted by Christoph Hellwig 3 months, 3 weeks ago
Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>
Re: [PATCH] mm: Remove the BOUNCE config option
Posted by David Hildenbrand 3 months, 4 weeks ago
On 13.10.25 11:56, Huacai Chen wrote:
> Commit eeadd68e2a5f6bfe0bf10 ("block: remove bounce buffering support")
> remove block/bounce.c but left the BOUNCE config option. Now this option
> has no users, so remove it.
> 
> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
> ---

LGTM

Acked-by: David Hildenbrand <david@redhat.com>

-- 
Cheers

David / dhildenb