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

From: Andrew Morton
Date: Fri May 12 2023 - 17:16:41 EST


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".