summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/mman.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/mman.h')
-rw-r--r--usr/src/uts/common/sys/mman.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/mman.h b/usr/src/uts/common/sys/mman.h
index 4976bf09ab..34e491fd3b 100644
--- a/usr/src/uts/common/sys/mman.h
+++ b/usr/src/uts/common/sys/mman.h
@@ -318,6 +318,7 @@ struct memcntl_mha32 {
#define MADV_ACCESS_DEFAULT 6 /* default access */
#define MADV_ACCESS_LWP 7 /* next LWP to access heavily */
#define MADV_ACCESS_MANY 8 /* many processes to access heavily */
+#define MADV_PURGE 9 /* contents will be purged */
#endif /* (_POSIX_C_SOURCE <= 2) && !defined(_XPG4_2) ... */
@@ -337,6 +338,7 @@ struct memcntl_mha32 {
#define MS_SYNC 0x4 /* wait for msync */
#define MS_ASYNC 0x1 /* return immediately */
#define MS_INVALIDATE 0x2 /* invalidate caches */
+#define MS_INVALCURPROC 0x8 /* invalidate cache for curproc only */
#if (_POSIX_C_SOURCE <= 2) && !defined(_XPG4_2) || defined(__EXTENSIONS__)
/* functions to mctl */