[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd,commited] hurd: Add MAP_NORESERVE mmap flag
From: |
Samuel Thibault |
Subject: |
[hurd,commited] hurd: Add MAP_NORESERVE mmap flag |
Date: |
Mon, 25 Nov 2024 00:56:33 +0100 |
This is already the current default behavior, which we will change with
overcommit support addition.
---
sysdeps/mach/hurd/bits/mman_ext.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sysdeps/mach/hurd/bits/mman_ext.h
b/sysdeps/mach/hurd/bits/mman_ext.h
index d5a371e39e..6baee1ea74 100644
--- a/sysdeps/mach/hurd/bits/mman_ext.h
+++ b/sysdeps/mach/hurd/bits/mman_ext.h
@@ -24,6 +24,7 @@
# define SHM_ANON ((const char *) 1)
# define MAP_32BIT 0x1000 /* Map in the lower 2 GB. */
+# define MAP_NORESERVE 0x2000 /* Don't check for reservations. */
# define MAP_EXCL 0x4000 /* With MAP_FIXED, don't replace existing
mappings. */
# define MAP_TRYFIXED (MAP_FIXED | MAP_EXCL) /* BSD name. */
--
2.45.2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [hurd,commited] hurd: Add MAP_NORESERVE mmap flag,
Samuel Thibault <=