mailing list of musl libc
 help / color / mirror / code / Atom feed
From: "Gaël PORTAY" <gael.portay@rtone.fr>
To: musl@lists.openwall.com
Cc: "Gaël PORTAY" <gael.portay@rtone.fr>
Subject: [musl] [PATCH v2 4/8] bits/syscall.h: add set_mempolicy_home_node from linux v5.17
Date: Sun, 18 Feb 2024 03:26:46 +0100	[thread overview]
Message-ID: <20240218022650.1097269-5-gael.portay@rtone.fr> (raw)
In-Reply-To: <20240218022650.1097269-1-gael.portay@rtone.fr>

see

    linux commit c6018b4b254971863bd0ad36bb5e7d0fa0f0ddb0
    mm/mempolicy: add set_mempolicy_home_node syscall

    linux commit 21b084fdf2a49ca1634e8e360e9ab6f9ff0dee11
    mm/mempolicy: wire up syscall set_mempolicy_home_node
---
 arch/aarch64/bits/syscall.h.in    | 1 +
 arch/arm/bits/syscall.h.in        | 1 +
 arch/i386/bits/syscall.h.in       | 1 +
 arch/m68k/bits/syscall.h.in       | 1 +
 arch/microblaze/bits/syscall.h.in | 1 +
 arch/mips/bits/syscall.h.in       | 1 +
 arch/mips64/bits/syscall.h.in     | 1 +
 arch/mipsn32/bits/syscall.h.in    | 1 +
 arch/or1k/bits/syscall.h.in       | 1 +
 arch/powerpc/bits/syscall.h.in    | 1 +
 arch/powerpc64/bits/syscall.h.in  | 1 +
 arch/riscv64/bits/syscall.h.in    | 1 +
 arch/s390x/bits/syscall.h.in      | 1 +
 arch/sh/bits/syscall.h.in         | 1 +
 arch/x32/bits/syscall.h.in        | 1 +
 arch/x86_64/bits/syscall.h.in     | 1 +
 16 files changed, 16 insertions(+)

diff --git a/arch/aarch64/bits/syscall.h.in b/arch/aarch64/bits/syscall.h.in
index fc646f0e..9645daca 100644
--- a/arch/aarch64/bits/syscall.h.in
+++ b/arch/aarch64/bits/syscall.h.in
@@ -302,4 +302,5 @@
 // reserved for memfd_secret	447
 #define __NR_process_mrelease	448
 #define __NR_futex_waitv	449
+#define __NR_set_mempolicy_home_node	450
 
diff --git a/arch/arm/bits/syscall.h.in b/arch/arm/bits/syscall.h.in
index ec40e0b9..e77ba3f7 100644
--- a/arch/arm/bits/syscall.h.in
+++ b/arch/arm/bits/syscall.h.in
@@ -402,6 +402,7 @@
 // reserved for memfd_secret	447
 #define __NR_process_mrelease	448
 #define __NR_futex_waitv	449
+#define __NR_set_mempolicy_home_node	450
 
 #define __ARM_NR_breakpoint	0x0f0001
 #define __ARM_NR_cacheflush	0x0f0002
diff --git a/arch/i386/bits/syscall.h.in b/arch/i386/bits/syscall.h.in
index 907b5641..a2c40786 100644
--- a/arch/i386/bits/syscall.h.in
+++ b/arch/i386/bits/syscall.h.in
@@ -439,4 +439,5 @@
 #define __NR_memfd_secret	447
 #define __NR_process_mrelease	448
 #define __NR_futex_waitv	449
+#define __NR_set_mempolicy_home_node	450
 
diff --git a/arch/m68k/bits/syscall.h.in b/arch/m68k/bits/syscall.h.in
index e545c68d..5cdd3a39 100644
--- a/arch/m68k/bits/syscall.h.in
+++ b/arch/m68k/bits/syscall.h.in
@@ -419,3 +419,4 @@
 // reserved for memfd_secret	447
 #define __NR_process_mrelease	448
 #define __NR_futex_waitv	449
+#define __NR_set_mempolicy_home_node	450
diff --git a/arch/microblaze/bits/syscall.h.in b/arch/microblaze/bits/syscall.h.in
index 2396aed3..e221a4a6 100644
--- a/arch/microblaze/bits/syscall.h.in
+++ b/arch/microblaze/bits/syscall.h.in
@@ -440,4 +440,5 @@
 // reserved for memfd_secret	447
 #define __NR_process_mrelease	448
 #define __NR_futex_waitv	449
+#define __NR_set_mempolicy_home_node	450
 
diff --git a/arch/mips/bits/syscall.h.in b/arch/mips/bits/syscall.h.in
index 85fbbb4e..591f162c 100644
--- a/arch/mips/bits/syscall.h.in
+++ b/arch/mips/bits/syscall.h.in
@@ -421,4 +421,5 @@
 // reserved for memfd_secret	4447
 #define __NR_process_mrelease	4448
 #define __NR_futex_waitv	4449
+#define __NR_set_mempolicy_home_node	4450
 
diff --git a/arch/mips64/bits/syscall.h.in b/arch/mips64/bits/syscall.h.in
index a841c24a..c579161e 100644
--- a/arch/mips64/bits/syscall.h.in
+++ b/arch/mips64/bits/syscall.h.in
@@ -351,4 +351,5 @@
 // reserved for memfd_secret	5447
 #define __NR_process_mrelease	5448
 #define __NR_futex_waitv	5449
+#define __NR_set_mempolicy_home_node	5450
 
diff --git a/arch/mipsn32/bits/syscall.h.in b/arch/mipsn32/bits/syscall.h.in
index a2f2b55e..1afecd90 100644
--- a/arch/mipsn32/bits/syscall.h.in
+++ b/arch/mipsn32/bits/syscall.h.in
@@ -375,4 +375,5 @@
 // reserved for memfd_secret	6447
 #define __NR_process_mrelease	6448
 #define __NR_futex_waitv	6449
+#define __NR_set_mempolicy_home_node	6450
 
diff --git a/arch/or1k/bits/syscall.h.in b/arch/or1k/bits/syscall.h.in
index f4000e43..067d04f9 100644
--- a/arch/or1k/bits/syscall.h.in
+++ b/arch/or1k/bits/syscall.h.in
@@ -324,4 +324,5 @@
 // reserved for memfd_secret	447
 #define __NR_process_mrelease	448
 #define __NR_futex_waitv	449
+#define __NR_set_mempolicy_home_node	450
 
diff --git a/arch/powerpc/bits/syscall.h.in b/arch/powerpc/bits/syscall.h.in
index cc1c06a4..3da78244 100644
--- a/arch/powerpc/bits/syscall.h.in
+++ b/arch/powerpc/bits/syscall.h.in
@@ -428,4 +428,5 @@
 // reserved for memfd_secret	447
 #define __NR_process_mrelease	448
 #define __NR_futex_waitv	449
+#define __NR_set_mempolicy_home_node	450
 
diff --git a/arch/powerpc64/bits/syscall.h.in b/arch/powerpc64/bits/syscall.h.in
index b96285f9..a6e04d97 100644
--- a/arch/powerpc64/bits/syscall.h.in
+++ b/arch/powerpc64/bits/syscall.h.in
@@ -400,4 +400,5 @@
 // reserved for memfd_secret	447
 #define __NR_process_mrelease	448
 #define __NR_futex_waitv	449
+#define __NR_set_mempolicy_home_node	450
 
diff --git a/arch/riscv64/bits/syscall.h.in b/arch/riscv64/bits/syscall.h.in
index 4f6d2a0b..be9e401f 100644
--- a/arch/riscv64/bits/syscall.h.in
+++ b/arch/riscv64/bits/syscall.h.in
@@ -302,6 +302,7 @@
 // reserved for memfd_secret	447
 #define __NR_process_mrelease	448
 #define __NR_futex_waitv	449
+#define __NR_set_mempolicy_home_node	450
 
 #define __NR_sysriscv __NR_arch_specific_syscall
 #define __NR_riscv_flush_icache (__NR_sysriscv + 15)
diff --git a/arch/s390x/bits/syscall.h.in b/arch/s390x/bits/syscall.h.in
index 0de01875..e0425f54 100644
--- a/arch/s390x/bits/syscall.h.in
+++ b/arch/s390x/bits/syscall.h.in
@@ -365,4 +365,5 @@
 #define __NR_memfd_secret	447
 #define __NR_process_mrelease	448
 #define __NR_futex_waitv	449
+#define __NR_set_mempolicy_home_node	450
 
diff --git a/arch/sh/bits/syscall.h.in b/arch/sh/bits/syscall.h.in
index 49853899..79c4d365 100644
--- a/arch/sh/bits/syscall.h.in
+++ b/arch/sh/bits/syscall.h.in
@@ -412,4 +412,5 @@
 // reserved for memfd_secret	447
 #define __NR_process_mrelease	448
 #define __NR_futex_waitv	449
+#define __NR_set_mempolicy_home_node	450
 
diff --git a/arch/x32/bits/syscall.h.in b/arch/x32/bits/syscall.h.in
index 5390db02..8a2cf7b0 100644
--- a/arch/x32/bits/syscall.h.in
+++ b/arch/x32/bits/syscall.h.in
@@ -311,6 +311,7 @@
 #define __NR_memfd_secret	(0x40000000 + 447)
 #define __NR_process_mrelease	(0x40000000 + 448)
 #define __NR_futex_waitv	(0x40000000 + 449)
+#define __NR_set_mempolicy_home_node	(0x40000000 + 450)
 
 
 #define __NR_rt_sigaction (0x40000000 + 512)
diff --git a/arch/x86_64/bits/syscall.h.in b/arch/x86_64/bits/syscall.h.in
index f566d52d..439b2bfa 100644
--- a/arch/x86_64/bits/syscall.h.in
+++ b/arch/x86_64/bits/syscall.h.in
@@ -358,4 +358,5 @@
 #define __NR_memfd_secret	447
 #define __NR_process_mrelease	448
 #define __NR_futex_waitv	449
+#define __NR_set_mempolicy_home_node	450
 
-- 
2.43.2


  parent reply	other threads:[~2024-02-18  2:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-18  2:26 [musl] [PATCH v2 0/8] use new SYS_fchmodat2 syscall to implement fchmodat with flags Gaël PORTAY
2024-02-18  2:26 ` [musl] [PATCH v2 1/8] bits/syscall.h: add process_madvise from linux v5.14 Gaël PORTAY
2024-02-23  0:32   ` Rich Felker
2024-02-18  2:26 ` [musl] [PATCH v2 2/8] bits/syscall.h: add process_mrelease from linux v5.15 Gaël PORTAY
2024-02-18  2:26 ` [musl] [PATCH v2 3/8] bits/syscall.h: add futex_waitv from linux v5.16 Gaël PORTAY
2024-02-18  2:26 ` Gaël PORTAY [this message]
2024-02-18  2:26 ` [musl] [PATCH v2 5/8] bits/syscall.h: add cachestat from linux v6.4 Gaël PORTAY
2024-02-18  2:26 ` [musl] [PATCH v2 6/8] remove flag argument from fchmodat syscall Gaël PORTAY
2024-02-18  2:26 ` [musl] [PATCH v2 7/8] bits/syscall.h: add __NR_fchmodat2 from linux v6.6 Gaël PORTAY
2024-02-18  2:26 ` [musl] [PATCH v2 8/8] use new SYS_fchmodat2 syscall to implement fchmodat with flags Gaël PORTAY
2024-02-23  0:36   ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240218022650.1097269-5-gael.portay@rtone.fr \
    --to=gael.portay@rtone.fr \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).