ColorfulRhino
f0c27bd69b
kernel 6.6: swiotlb: Reduce the default size if no ZONE_DMA bouncing needed
...
With CONFIG_DMA_BOUNCE_UNALIGNED_KMALLOC enabled, the arm64 kernel still
allocates the default SWIOTLB buffer (64MB) even if ZONE_DMA is disabled
or all the RAM fits into this zone. However, this potentially wastes a
non-negligible amount of memory on platforms with little RAM.
Reduce the SWIOTLB size to 1MB per 1GB of RAM if only needed for
kmalloc() buffer bouncing.
2024-04-11 08:31:26 -04:00
..
2024-02-01 08:06:28 -05:00
2024-01-18 14:31:43 -05:00
2024-01-14 19:39:09 +01:00
2024-04-11 08:31:26 -04:00
2024-04-01 20:46:38 +02:00
2024-04-01 20:46:38 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-26 14:30:48 +02:00
2023-10-26 14:30:48 +02:00
2023-10-21 13:57:12 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-26 14:30:48 +02:00
2023-10-26 14:30:48 +02:00
2023-10-24 15:51:11 -04:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-21 13:57:12 +02:00
2023-10-21 13:57:12 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-21 13:57:12 +02:00
2023-10-21 13:57:12 +02:00
2023-10-03 13:53:40 +02:00
2023-11-08 14:06:32 +01:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00
2023-10-03 13:53:40 +02:00