[PATCH v15 04/17] mm: add ksys_ wrappers to memory syscalls
catalin.marinas at arm.com
Wed May 22 10:56:10 UTC 2019
On Mon, May 06, 2019 at 06:30:50PM +0200, Andrey Konovalov wrote:
> This patch is a part of a series that extends arm64 kernel ABI to allow to
> pass tagged user pointers (with the top byte set to something else other
> than 0x00) as syscall arguments.
> This patch adds ksys_ wrappers to the following memory syscalls:
> brk, get_mempolicy (renamed kernel_get_mempolicy -> ksys_get_mempolicy),
> madvise, mbind (renamed kernel_mbind -> ksys_mbind), mincore,
> mlock (renamed do_mlock -> ksys_mlock), mlock2, mmap_pgoff,
> mprotect (renamed do_mprotect_pkey -> ksys_mprotect_pkey), mremap, msync,
> munlock, munmap, remap_file_pages, shmat, shmdt.
> The next patch in this series will add a custom implementation for these
> syscalls that makes them accept tagged pointers on arm64.
> Signed-off-by: Andrey Konovalov <andreyknvl at google.com>
Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>
More information about the amd-gfx