Commit 21b084fd authored by Aneesh Kumar K.V's avatar Aneesh Kumar K.V Committed by Linus Torvalds
Browse files

mm/mempolicy: wire up syscall set_mempolicy_home_node

Link: https://lkml.kernel.org/r/20211202123810.267175-4-aneesh.kumar@linux.ibm.com


Signed-off-by: default avatarAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Cc: Ben Widawsky <ben.widawsky@intel.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Feng Tang <feng.tang@intel.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Huang Ying <ying.huang@intel.com>
Cc: <linux-api@vger.kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c6018b4b
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -489,3 +489,4 @@
# 557 reserved for memfd_secret
# 557 reserved for memfd_secret
558	common	process_mrelease		sys_process_mrelease
558	common	process_mrelease		sys_process_mrelease
559	common  futex_waitv                     sys_futex_waitv
559	common  futex_waitv                     sys_futex_waitv
560	common	set_mempolicy_home_node		sys_ni_syscall
+1 −0
Original line number Original line Diff line number Diff line
@@ -463,3 +463,4 @@
# 447 reserved for memfd_secret
# 447 reserved for memfd_secret
448	common	process_mrelease		sys_process_mrelease
448	common	process_mrelease		sys_process_mrelease
449	common	futex_waitv			sys_futex_waitv
449	common	futex_waitv			sys_futex_waitv
450	common	set_mempolicy_home_node		sys_set_mempolicy_home_node
+1 −1
Original line number Original line Diff line number Diff line
@@ -38,7 +38,7 @@
#define __ARM_NR_compat_set_tls		(__ARM_NR_COMPAT_BASE + 5)
#define __ARM_NR_compat_set_tls		(__ARM_NR_COMPAT_BASE + 5)
#define __ARM_NR_COMPAT_END		(__ARM_NR_COMPAT_BASE + 0x800)
#define __ARM_NR_COMPAT_END		(__ARM_NR_COMPAT_BASE + 0x800)


#define __NR_compat_syscalls		450
#define __NR_compat_syscalls		451
#endif
#endif


#define __ARCH_WANT_SYS_CLONE
#define __ARCH_WANT_SYS_CLONE
+2 −0
Original line number Original line Diff line number Diff line
@@ -905,6 +905,8 @@ __SYSCALL(__NR_landlock_restrict_self, sys_landlock_restrict_self)
__SYSCALL(__NR_process_mrelease, sys_process_mrelease)
__SYSCALL(__NR_process_mrelease, sys_process_mrelease)
#define __NR_futex_waitv 449
#define __NR_futex_waitv 449
__SYSCALL(__NR_futex_waitv, sys_futex_waitv)
__SYSCALL(__NR_futex_waitv, sys_futex_waitv)
#define __NR_set_mempolicy_home_node 450
__SYSCALL(__NR_set_mempolicy_home_node, sys_set_mempolicy_home_node)


/*
/*
 * Please add new compat syscalls above this comment and update
 * Please add new compat syscalls above this comment and update
+1 −0
Original line number Original line Diff line number Diff line
@@ -370,3 +370,4 @@
# 447 reserved for memfd_secret
# 447 reserved for memfd_secret
448	common	process_mrelease		sys_process_mrelease
448	common	process_mrelease		sys_process_mrelease
449	common  futex_waitv                     sys_futex_waitv
449	common  futex_waitv                     sys_futex_waitv
450	common	set_mempolicy_home_node		sys_set_mempolicy_home_node
Loading