From 0db35aa3d41c1fbc653619952786a5be0fd6f19f Mon Sep 17 00:00:00 2001 From: Jerry Jelinek Date: Tue, 24 Jan 2012 21:57:33 +0000 Subject: OS-881 To workaround OS-580 add support to only invalidate mappings from a single process --- usr/src/uts/common/sys/mman.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr/src/uts/common/sys/mman.h') diff --git a/usr/src/uts/common/sys/mman.h b/usr/src/uts/common/sys/mman.h index 6c9119e56d..82344607b0 100644 --- a/usr/src/uts/common/sys/mman.h +++ b/usr/src/uts/common/sys/mman.h @@ -22,6 +22,7 @@ /* * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * Copyright 2012 Joyent, Inc. All rights reserved. */ /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */ @@ -353,6 +354,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 */ -- cgit v1.2.3