Annotation of 41BSD/sys/h/vmsystm.h, revision 1.1

1.1     ! root        1: /*     vmsystm.h       4.1     11/9/80 */
        !             2: 
        !             3: /*
        !             4:  * Miscellaneous virtual memory subsystem variables and structures.
        !             5:  */
        !             6: 
        !             7: 
        !             8: #ifdef KERNEL
        !             9: int    freemem;                /* remaining blocks of free memory */
        !            10: int    avefree;                /* moving average of remaining free blocks */
        !            11: int    deficit;                /* estimate of needs of new swapped in procs */
        !            12: int    nscan;                  /* number of scans in last second */
        !            13: int    multprog;               /* current multiprogramming degree */
        !            14: int    desscan;                /* desired pages scanned per second */
        !            15: 
        !            16: /* writable copies of tunables */
        !            17: int    maxpgio;                /* max paging i/o per sec before start swaps */
        !            18: int    maxslp;                 /* max sleep time before very swappable */
        !            19: int    lotsfree;               /* max free before clock freezes */
        !            20: int    minfree;                /* minimum free pages before swapping begins */
        !            21: int    desfree;                /* no of pages to try to keep free via daemon */
        !            22: int    saferss;                /* no pages not to steal; decays with slptime */
        !            23: #endif
        !            24: 
        !            25: /*
        !            26:  * Fork/vfork accounting.
        !            27:  */
        !            28: struct forkstat
        !            29: {
        !            30:        int     cntfork;
        !            31:        int     cntvfork;
        !            32:        int     sizfork;
        !            33:        int     sizvfork;
        !            34: };
        !            35: #ifdef KERNEL
        !            36: struct forkstat forkstat;
        !            37: #endif
        !            38: 
        !            39: /*
        !            40:  * Swap kind accounting.
        !            41:  */
        !            42: struct swptstat
        !            43: {
        !            44:        int     pteasy;         /* easy pt swaps */
        !            45:        int     ptexpand;       /* pt expansion swaps */
        !            46:        int     ptshrink;       /* pt shrinking swaps */
        !            47:        int     ptpack;         /* pt swaps involving spte copying */
        !            48: };
        !            49: #ifdef KERNEL
        !            50: struct swptstat swptstat;
        !            51: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.