Print this page
OS-881 To workaround OS-580 add support to only invalidate mappings from a single process

@@ -337,10 +337,11 @@
 #define MS_OLDSYNC      0x0             /* old value of MS_SYNC */
                                         /* modified for UNIX98 compliance */
 #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 */
 #define MC_SYNC         1               /* sync with backing store */
 #define MC_LOCK         2               /* lock pages in memory */