[PATCH] loongarch: wire up memfd_secret system call
Mike Rapoport
rppt at kernel.org
Fri Jan 9 00:21:00 PST 2026
On Fri, Jan 09, 2026 at 01:10:51PM +0800, Lain Fearyncess Yang wrote:
> From: "Lain \"Fearyncess\" Yang" <fearyncess at aosc.io>
>
> LoongArch supports ARCH_HAS_SET_DIRECT_MAP, therefore wire up the
> memfd_secret system call, which depends on it.
LoongArch version of set_memory* does not support splitting of leaf PMD
entries. Does LoongArch always use PTE-level mappings in the direct map?
> Signed-off-by: Lain "Fearyncess" Yang <fearyncess at aosc.io>
> ---
> arch/loongarch/include/asm/unistd.h | 1 +
> arch/loongarch/kernel/Makefile.syscalls | 6 +++---
> tools/testing/selftests/mm/Makefile | 2 +-
> 3 files changed, 5 insertions(+), 4 deletions(-)
--
Sincerely yours,
Mike.
More information about the linux-riscv
mailing list