[PATCH v6 00/17] mm, dma, arm64: Reduce ARCH_KMALLOC_MINALIGN to 8
Ard Biesheuvel
ardb at kernel.org
Thu Jun 8 01:05:58 PDT 2023
On Thu, 8 Jun 2023 at 07:45, Isaac Manjarres <isaacmanjarres at google.com> wrote:
>
> On Wed, May 31, 2023 at 8:48 AM Catalin Marinas <catalin.marinas at arm.com> wrote:
> > Here's version 6 of the series reducing the kmalloc() minimum alignment
> > on arm64 to 8 (from 128). There are patches already to do the same for
> > riscv (pretty straight-forward after this series).
> Thanks, Catalin for getting these patches out. Please add my "Tested-by:" tag
> for the series:
>
> Tested-by: Isaac J. Manjarres <isaacmanjarres at google.com>
>
> With the first 11 patches, I observed a reduction of 18.4 MB
> in the slab memory footprint on my Pixel 6 device. After applying the
> rest of the patches in the series, I observed a total reduction of
> 26.5 MB in the
> slab memory footprint on my device. These are great results!
>
It would also be good to get an insight into how much bouncing is
going on in this case, given that (AFAIK) Pixel 6 uses non-cache
coherent DMA.
More information about the linux-arm-kernel
mailing list