home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 (Developer) / NS_dev_3.2.iso / NextDeveloper / Headers / bsd / sys / vadvise.h < prev    next >
C/C++ Source or Header  |  1993-10-19  |  1KB  |  44 lines

  1. /* 
  2.  * Mach Operating System
  3.  * Copyright (c) 1989 Carnegie-Mellon University
  4.  * All rights reserved.  The CMU software License Agreement specifies
  5.  * the terms and conditions for use and redistribution.
  6.  */
  7. /*
  8.  * HISTORY
  9.  * $Log:    vadvise.h,v $
  10.  * Revision 2.3  89/03/09  22:10:08  rpd
  11.  *     More cleanup.
  12.  * 
  13.  * Revision 2.2  89/02/25  17:58:14  gm0w
  14.  *     Changes for cleanup.
  15.  * 
  16.  */
  17. /*
  18.  * Copyright (c) 1982, 1986 Regents of the University of California.
  19.  * All rights reserved.  The Berkeley software License Agreement
  20.  * specifies the terms and conditions for redistribution.
  21.  *
  22.  *    @(#)vadvise.h    7.1 (Berkeley) 6/4/86
  23.  */
  24.  
  25. #ifndef    _SYS_VADVISE_H_
  26. #define _SYS_VADVISE_H_
  27.  
  28. /*
  29.  * Parameters to vadvise() to tell system of particular paging
  30.  * behaviour:
  31.  *    VA_NORM        Normal strategy
  32.  *    VA_ANOM        Sampling page behaviour is not a win, don't bother
  33.  *            Suitable during GCs in LISP, or sequential or random
  34.  *            page referencing.
  35.  *    VA_SEQL        Sequential behaviour expected.
  36.  *    VA_FLUSH    Invalidate all page table entries.
  37.  */
  38. #define VA_NORM    0
  39. #define VA_ANOM    1
  40. #define VA_SEQL    2
  41. #define VA_FLUSH 3
  42.  
  43. #endif    _SYS_VADVISE_H_
  44.