Re: [PATCH] arm64: wire up cachestat for arm64

From: Nhat Pham
Date: Fri May 12 2023 - 17:48:07 EST


On Fri, May 12, 2023 at 2:15 PM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Fri, 12 May 2023 11:42:26 +0100 Catalin Marinas <catalin.marinas@xxxxxxx> wrote:
>
> > On Thu, May 11, 2023 at 02:28:43AM -0700, Nhat Pham wrote:
> > > cachestat is a new syscall that was previously wired in for most
> > > architectures:
> > >
> > > https://lore.kernel.org/lkml/20230503013608.2431726-1-nphamcs@xxxxxxxxx/
> > > https://lore.kernel.org/linux-mm/20230510195806.2902878-1-nphamcs@xxxxxxxxx/
> > >
> > > However, those patches miss arm64, which has its own syscall table in arch/arm64.
> > > This patch wires cachestat in for arm64.
> >
> > You may want to clarify that this is for compat support on arm64,
> > otherwise native support uses the generic syscall numbers already.
>
> Thanks, I updated the changelog thusly. Note that this patch is
> transitory - it will be squashed into "cachestat: wire up cachestat for
> other architectures".

It's my expectation too - it makes sense to squash it to the other patch.
Thanks, Andrew!