[PATCH v4 00/15] mm, dma, arm64: Reduce ARCH_KMALLOC_MINALIGN to 8

Catalin Marinas catalin.marinas at arm.com
Thu May 18 11:46:38 PDT 2023


On Thu, May 18, 2023 at 10:56:24AM -0700, Linus Torvalds wrote:
> On Thu, May 18, 2023 at 10:34 AM Catalin Marinas
> <catalin.marinas at arm.com> wrote:
> >
> > That's the fourth version of the series reducing the kmalloc() minimum
> > alignment on arm64 to 8 (from 128).
> 
> Lovely. On my M2 Macbook air, I right now have about 24MB in the
> kmalloc-128 bucket, and most of it is presumably just 16 byte
> allocations (judging by my x86-64 slabinfo).
> 
> I guess it doesn't really matter when I have 16GB in the machine, but
> this has annoyed me for a while.
> 
> It feels like this is ready for 6.5, no?

>From an implementation approach perspective, I definitely target 6.5.
But I need help with testing this, especially the iommu bits (can buy
Robin some beers ;)).

-- 
Catalin



More information about the linux-arm-kernel mailing list