On Fri, Jan 9, 2026 at 4:21 PM Mike Rapoport <[email protected]> wrote:
>
> On Fri, Jan 09, 2026 at 01:10:51PM +0800, Lain Fearyncess Yang wrote:
> > From: "Lain \"Fearyncess\" Yang" <[email protected]>
> >
> > 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?
No PMD level mappings now.

Huacai
>
> > Signed-off-by: Lain "Fearyncess" Yang <[email protected]>
> > ---
> >  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.

Reply via email to