home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 9.ddi / usr / include / sys / tuneable.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  1.8 KB  |  49 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10. #ifndef _SYS_TUNEABLE_H
  11. #define _SYS_TUNEABLE_H
  12.  
  13. #ident    "@(#)/usr/include/sys/tuneable.h.sl 1.1 4.0 12/08/90 51661 AT&T-USL"
  14.  
  15. typedef struct tune {
  16.     int    t_gpgslo;    /* If freemem < t_getpgslow, then start    */
  17.                 /* to steal pages from processes.    */
  18.     int    t_gpgshi;    /* Once we start to steal pages, don't    */
  19.                 /* stop until freemem > t_getpgshi.    */
  20.     int    t_padd;        /* Padding for driver compatibility    */
  21.     int    t_notused;    /* Not used                */
  22.     int    t_ageinterval;    /* Age process every so many seconds    */
  23.     int    t_padd1[3];    /* Padding for driver compatibility     */
  24.     int    t_fsflushr;    /* The rate at which fsflush is run in    */
  25.                 /* seconds.                */
  26.     int    t_minarmem;    /* The minimum available resident (not    */
  27.                 /* swapable) memory to maintain in     */
  28.                 /* order to avoid deadlock.  In pages.    */
  29.     int    t_minasmem;    /* The minimum available swapable    */
  30.                 /* memory to maintain in order to avoid    */
  31.                 /* deadlock.  In pages.            */
  32.     int    t_dmalimit;    /* Last (exclusive) Dmaable Page No.    */
  33.     int t_flckrec;        /* max number of active frlocks */
  34.     int    t_minakmem;    /* Threshhold of the minimum number of  */
  35.                 /* pages reserved as the soft kmem_alloc*/
  36.                 /* threshold to avoid deadlock         */
  37. } tune_t;
  38.  
  39. extern tune_t    tune;
  40.  
  41. /*    The following is the default value for t_gpgsmsk.  It cannot be
  42.  *    defined in /etc/master or /etc/system due to limitations of the
  43.  *    config program.
  44.  */
  45.  
  46. #define    GETPGSMSK    PG_REF|PG_NDREF
  47.  
  48. #endif    /* _SYS_TUNEABLE_H */
  49.