summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2020-03-31 20:26:53 +0000
committerRich Felker <dalias@aerifal.cx>2020-09-09 17:20:22 -0400
commit8f4aa78a0cb86002273d2884b05618fc05827292 (patch)
tree99a3a1b54feb6a6d1d446cc7c174cb1a12c3e29f /include/sys
parent1ab341e89b6d351ef6a01380ca5b2d7c24299965 (diff)
downloadmusl-8f4aa78a0cb86002273d2884b05618fc05827292.tar.gz
sys/prctl.h: add PR_{SET,GET}_IO_FLUSHER from linux v5.6
needed for storage drivers with userspace component that may run in the IO path, see linux commit 8d19f1c8e1937baf74e1962aae9f90fa3aeab463 prctl: PR_{G,S}ET_IO_FLUSHER to support controlling memory reclaim
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/prctl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sys/prctl.h b/include/sys/prctl.h
index d9c846e9..4b9fcc05 100644
--- a/include/sys/prctl.h
+++ b/include/sys/prctl.h
@@ -158,6 +158,9 @@ struct prctl_mm_map {
#define PR_GET_TAGGED_ADDR_CTRL 56
#define PR_TAGGED_ADDR_ENABLE (1UL << 0)
+#define PR_SET_IO_FLUSHER 57
+#define PR_GET_IO_FLUSHER 58
+
int prctl (int, ...);
#ifdef __cplusplus