[PATCH v7 00/17] mm, dma, arm64: Reduce ARCH_KMALLOC_MINALIGN to 8

Isaac Manjarres isaacmanjarres at google.com
Thu Jul 6 17:41:57 PDT 2023


On Wed, Jul 05, 2023 at 07:10:02PM +0530, Amit Pundir wrote:
> Hi Catalin,
> 
> On Wed, 5 Jul 2023 at 18:17, Catalin Marinas <catalin.marinas at arm.com> wrote:
> >
> > Hi,
> >
> > That's v7 of the series reducing the kmalloc() minimum alignment on
> > arm64 to 8 (from 128). There's no new/different functionality, mostly
> > cosmetic changes and acks/tested-bys.
> >
> > Andrew, if there are no further comments or objections to this version,
> > are you ok to take the series through the mm tree? The arm64 changes are
> > fairly small. Alternatively, I can push it into linux-next now to give
> > it some wider exposure and decide whether to upstream it when the
> > merging window opens. Thanks.
> 
> This patch series broke Dragonboard 845c (SDM845) running AOSP.
> With this series I run into random oops at __kmem_cache_alloc_node().
> Here is one such boot log https://bugs.linaro.org/attachment.cgi?id=1146

Hey Amit,

>From the log that you linked, this looks like there's corruption within
the kmalloc slab caches. Can you please try enabling slub debug? That
might give us more information about who is causing the corruption
you're seeing here.

To enable slub debug, you can add the following to your kernel config:

CONFIG_SLUB_DEBUG=y

and CONFIG_SLUB_DEBUG_ON=y or add slub_debug to the kernel command line.

--Isaac



More information about the linux-arm-kernel mailing list