Re: [PATCH v3 0/2] riscv: Reduce ARCH_KMALLOC_MINALIGN to 8

From: patchwork-bot+linux-riscv
Date: Wed Aug 30 2023 - 14:53:14 EST


Hello:

This series was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@xxxxxxxxxxxx>:

On Tue, 18 Jul 2023 23:22:12 +0800 you wrote:
> Currently, riscv defines ARCH_DMA_MINALIGN as L1_CACHE_BYTES, I.E
> 64Bytes, if CONFIG_RISCV_DMA_NONCOHERENT=y. To support unified kernel
> Image, usually we have to enable CONFIG_RISCV_DMA_NONCOHERENT, thus
> it brings some bad effects to coherent platforms:
>
> Firstly, it wastes memory, kmalloc-96, kmalloc-32, kmalloc-16 and
> kmalloc-8 slab caches don't exist any more, they are replaced with
> either kmalloc-128 or kmalloc-64.
>
> [...]

Here is the summary with links:
- [v3,1/2] riscv: allow kmalloc() caches aligned to the smallest value
https://git.kernel.org/riscv/c/2926715163cf
- [v3,2/2] riscv: enable DMA_BOUNCE_UNALIGNED_KMALLOC for !dma_coherent
https://git.kernel.org/riscv/c/f51f7a0fc2f4

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html