Catalin Marinas
b035f5a6d8
mm: slab: reduce the kmalloc() minimum alignment if DMA bouncing possible
...
If an architecture opted in to DMA bouncing of unaligned kmalloc() buffers
(ARCH_WANT_KMALLOC_DMA_BOUNCE), reduce the minimum kmalloc() cache
alignment below cache-line size to ARCH_KMALLOC_MINALIGN.
Link: https://lkml.kernel.org/r/20230612153201.554742-17-catalin.marinas@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Tested-by: Isaac J. Manjarres <isaacmanjarres@google.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Robin Murphy <robin.murphy@arm.com>
Cc: Alasdair Kergon <agk@redhat.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Jerry Snitselaar <jsnitsel@redhat.com>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Logan Gunthorpe <logang@deltatee.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Mark Brown <broonie@kernel.org>
Cc: Mike Snitzer <snitzer@kernel.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Saravana Kannan <saravanak@google.com>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-06-19 16:19:23 -07:00
..
2023-06-19 16:19:13 -07:00
2023-06-09 16:25:19 -07:00
2023-05-17 15:24:33 -07:00
2023-04-18 16:30:11 -07:00
2023-04-27 19:42:02 -07:00
2022-08-02 12:34:03 -04:00
2022-08-28 14:02:45 -07:00
2022-09-11 20:25:50 -07:00
2023-03-28 16:20:06 -07:00
2023-04-05 19:42:52 -07:00
2022-03-22 15:57:09 -07:00
2023-06-09 16:25:43 -07:00
2023-06-09 16:25:23 -07:00
2023-06-19 16:19:15 -07:00
2023-06-09 16:25:31 -07:00
2023-04-05 19:42:38 -07:00
2023-06-09 16:25:17 -07:00
2023-06-09 16:25:56 -07:00
2023-01-18 17:12:57 -08:00
2023-06-09 16:25:23 -07:00
2022-11-22 18:50:44 -08:00
2023-06-19 16:19:13 -07:00
2023-04-27 19:42:02 -07:00
2023-06-19 16:19:05 -07:00
2023-06-09 16:25:26 -07:00
2022-11-08 17:37:15 -08:00
2023-06-19 16:19:17 -07:00
2022-10-12 18:51:51 -07:00
2023-06-19 16:19:14 -07:00
2023-06-19 16:19:19 -07:00
2023-02-13 15:54:27 -08:00
2023-06-09 16:25:19 -07:00
2022-08-08 18:06:43 -07:00
2023-06-19 16:19:19 -07:00
2022-10-03 14:03:05 -07:00
2023-04-30 13:00:38 -07:00
2023-06-19 16:19:19 -07:00
2022-06-27 12:22:31 +01:00
2023-06-19 16:19:05 -07:00
2023-05-02 17:23:28 -07:00
2023-06-19 16:19:18 -07:00
2023-02-16 20:43:49 -08:00
2023-06-19 16:19:15 -07:00
2022-06-16 19:48:31 -07:00
2023-04-12 17:36:23 -07:00
2023-06-19 16:19:16 -07:00
2023-06-09 16:25:23 -07:00
2023-06-19 16:19:14 -07:00
2023-06-19 16:19:05 -07:00
2023-06-19 16:19:15 -07:00
2023-04-18 16:30:11 -07:00
2023-06-19 16:19:05 -07:00
2023-06-19 16:19:15 -07:00
2023-06-19 16:19:00 -07:00
2023-06-19 16:19:19 -07:00
2023-06-19 16:19:13 -07:00
2022-11-30 15:58:41 -08:00
2023-02-09 16:51:46 -08:00
2023-04-05 19:42:55 -07:00
2023-06-19 16:19:17 -07:00
2023-06-19 16:19:15 -07:00
2023-06-19 16:19:13 -07:00
2023-06-19 16:19:13 -07:00
2023-06-19 16:19:05 -07:00
2022-10-03 14:02:43 -07:00
2023-06-09 16:25:56 -07:00
2023-03-28 16:20:16 -07:00
2023-02-02 22:32:54 -08:00
2022-09-26 19:46:09 -07:00
2023-06-19 16:19:16 -07:00
2023-06-19 16:19:16 -07:00
2022-09-26 19:46:25 -07:00
2023-04-05 19:42:57 -07:00
2023-06-09 16:25:20 -07:00
2023-06-09 16:25:55 -07:00
2022-09-11 20:26:01 -07:00
2023-02-02 22:33:22 -08:00
2023-01-18 17:12:52 -08:00
2023-02-23 17:09:35 -08:00
2023-06-19 16:18:59 -07:00
2023-04-05 19:42:46 -07:00
2023-04-05 19:42:46 -07:00
2023-06-19 16:19:15 -07:00
2023-06-19 16:19:13 -07:00
2023-03-28 16:20:14 -07:00
2023-06-19 16:19:14 -07:00
2023-02-16 20:43:55 -08:00
2022-03-08 09:30:46 -05:00
2023-02-16 20:43:56 -08:00
2023-06-19 16:19:12 -07:00
2023-06-09 16:25:25 -07:00
2022-09-03 10:13:13 -07:00
2023-02-02 22:33:21 -08:00
2023-06-09 16:25:26 -07:00
2022-10-03 14:03:05 -07:00
2023-06-09 16:25:38 -07:00
2023-06-19 16:19:04 -07:00
2023-06-09 16:25:22 -07:00
2023-05-17 15:24:33 -07:00
2022-10-03 14:03:07 -07:00
2023-04-05 19:42:46 -07:00
2023-06-19 16:19:23 -07:00
2023-06-19 16:19:20 -07:00
2023-06-19 16:19:20 -07:00
2023-04-27 19:42:02 -07:00
2023-04-18 16:30:09 -07:00
2023-06-19 16:19:04 -07:00
2022-10-03 14:03:36 -07:00
2022-10-03 14:02:46 -07:00
2023-06-19 16:19:19 -07:00
2023-04-16 10:41:24 -07:00
2023-02-02 22:33:33 -08:00
2023-06-19 16:19:16 -07:00
2023-04-05 19:42:42 -07:00
2023-04-12 17:36:23 -07:00
2023-06-19 16:19:15 -07:00
2023-04-08 13:45:37 -07:00
2023-06-19 16:19:14 -07:00
2023-06-19 16:19:17 -07:00
2023-06-19 16:19:11 -07:00
2023-06-09 16:25:46 -07:00
2023-01-18 17:12:57 -08:00
2022-12-11 18:12:10 -08:00
2023-04-13 13:13:54 -07:00
2023-06-09 16:25:21 -07:00
2023-06-19 16:19:05 -07:00