Annotation of researchv9/sys.vax/h/vmsystm.h, revision 1.1

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

unix.superglobalmegacorp.com

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