linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: Remove the BOUNCE config option
@ 2025-10-13  9:56 Huacai Chen
  2025-10-13 12:52 ` David Hildenbrand
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Huacai Chen @ 2025-10-13  9:56 UTC (permalink / raw)
  To: Huacai Chen, Andrew Morton
  Cc: linux-mm, Christoph Hellwig, Jens Axboe, Hannes Reinecke,
	John Garry, Johannes Thumshirn, linux-kernel, Huacai Chen

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] mm: Remove the BOUNCE config option
  2025-10-13  9:56 [PATCH] mm: Remove the BOUNCE config option Huacai Chen
@ 2025-10-13 12:52 ` David Hildenbrand
  2025-10-14  4:18 ` Christoph Hellwig
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: David Hildenbrand @ 2025-10-13 12:52 UTC (permalink / raw)
  To: Huacai Chen, Huacai Chen, Andrew Morton
  Cc: linux-mm, Christoph Hellwig, Jens Axboe, Hannes Reinecke,
	John Garry, Johannes Thumshirn, linux-kernel

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] mm: Remove the BOUNCE config option
  2025-10-13  9:56 [PATCH] mm: Remove the BOUNCE config option Huacai Chen
  2025-10-13 12:52 ` David Hildenbrand
@ 2025-10-14  4:18 ` Christoph Hellwig
  2025-10-14 13:07 ` Jens Axboe
  2025-10-15  3:42 ` Anshuman Khandual
  3 siblings, 0 replies; 5+ messages in thread
From: Christoph Hellwig @ 2025-10-14  4:18 UTC (permalink / raw)
  To: Huacai Chen
  Cc: Huacai Chen, Andrew Morton, linux-mm, Christoph Hellwig,
	Jens Axboe, Hannes Reinecke, John Garry, Johannes Thumshirn,
	linux-kernel

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] mm: Remove the BOUNCE config option
  2025-10-13  9:56 [PATCH] mm: Remove the BOUNCE config option Huacai Chen
  2025-10-13 12:52 ` David Hildenbrand
  2025-10-14  4:18 ` Christoph Hellwig
@ 2025-10-14 13:07 ` Jens Axboe
  2025-10-15  3:42 ` Anshuman Khandual
  3 siblings, 0 replies; 5+ messages in thread
From: Jens Axboe @ 2025-10-14 13:07 UTC (permalink / raw)
  To: Huacai Chen, Huacai Chen, Andrew Morton
  Cc: linux-mm, Christoph Hellwig, Hannes Reinecke, John Garry,
	Johannes Thumshirn, linux-kernel

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] mm: Remove the BOUNCE config option
  2025-10-13  9:56 [PATCH] mm: Remove the BOUNCE config option Huacai Chen
                   ` (2 preceding siblings ...)
  2025-10-14 13:07 ` Jens Axboe
@ 2025-10-15  3:42 ` Anshuman Khandual
  3 siblings, 0 replies; 5+ messages in thread
From: Anshuman Khandual @ 2025-10-15  3:42 UTC (permalink / raw)
  To: Huacai Chen, Huacai Chen, Andrew Morton
  Cc: linux-mm, Christoph Hellwig, Jens Axboe, Hannes Reinecke,
	John Garry, Johannes Thumshirn, linux-kernel



On 13/10/25 3:26 PM, 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>
> ---
>  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

Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-10-15  3:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-13  9:56 [PATCH] mm: Remove the BOUNCE config option Huacai Chen
2025-10-13 12:52 ` David Hildenbrand
2025-10-14  4:18 ` Christoph Hellwig
2025-10-14 13:07 ` Jens Axboe
2025-10-15  3:42 ` Anshuman Khandual

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox