diff options
author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2012-04-06 16:03:38 +0000 |
---|---|---|
committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2012-04-06 16:03:38 +0000 |
commit | 57bd5cce62f14e6f40c5679c0e20c4705f924157 (patch) | |
tree | 629b68f1c4f865a3a6cd89b972fbd12debf0d87f /sys/vm/vm_page.h | |
parent | 629e40e45e30f3915c1901b1479a73dee73a0334 (diff) | |
download | src-57bd5cce62f14e6f40c5679c0e20c4705f924157.tar.gz src-57bd5cce62f14e6f40c5679c0e20c4705f924157.zip |
Reduce the frequency that the PowerPC/AIM pmaps invalidate instruction
caches, by invalidating kernel icaches only when needed and not flushing
user caches for shared pages.
Suggested by: kib
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=233949
Diffstat (limited to 'sys/vm/vm_page.h')
-rw-r--r-- | sys/vm/vm_page.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h index ca02de0d922e..50465a741a84 100644 --- a/sys/vm/vm_page.h +++ b/sys/vm/vm_page.h @@ -248,9 +248,13 @@ extern struct vpglocks pa_lock[]; * * PGA_WRITEABLE is set exclusively on managed pages by pmap_enter(). When it * does so, the page must be VPO_BUSY. + * + * PGA_EXECUTABLE may be set by pmap routines, and indicates that a page has + * at least one executable mapping. It is not consumed by the VM layer. */ #define PGA_WRITEABLE 0x01 /* page may be mapped writeable */ #define PGA_REFERENCED 0x02 /* page has been referenced */ +#define PGA_EXECUTABLE 0x04 /* page may be mapped executable */ /* * Page flags. If changed at any other time than page allocation or |