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

From: Catalin Marinas
Date: Fri May 12 2023 - 06:42:39 EST


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.

>
> Signed-off-by: Nhat Pham <nphamcs@xxxxxxxxx>
> Suggested-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Suggested-by: Arnd Bergmann <arnd@xxxxxxxx>

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>