|
|
1.1 ! root 1: /* vmsystm.h 6.1 83/07/29 */ ! 2: ! 3: /* ! 4: * Miscellaneous virtual memory subsystem variables and structures. ! 5: */ ! 6: ! 7: #ifdef KERNEL ! 8: int freemem; /* remaining blocks of free memory */ ! 9: int avefree; /* moving average of remaining free blocks */ ! 10: int avefree30; /* 30 sec (avefree is 5 sec) moving average */ ! 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
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.