xref: /original-bsd/sys/sys/vadvise.h (revision 29faa970)
1 /*-
2  * Copyright (c) 1982, 1986, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)vadvise.h	8.1 (Berkeley) 06/02/93
8  */
9 
10 /*
11  * Parameters to vadvise() to tell system of particular paging
12  * behaviour:
13  *	VA_NORM		Normal strategy
14  *	VA_ANOM		Sampling page behaviour is not a win, don't bother
15  *			Suitable during GCs in LISP, or sequential or random
16  *			page referencing.
17  *	VA_SEQL		Sequential behaviour expected.
18  *	VA_FLUSH	Invalidate all page table entries.
19  */
20 #define	VA_NORM		0
21 #define	VA_ANOM		1
22 #define	VA_SEQL		2
23 #define	VA_FLUSH 	3
24