Files
retrobsd/sys/include/vmsystm.h
Serge Vakulenko 94c02410e4 Kconfig: rename machine to architecture, ident to board.
Make timezone and maxusers parameters optional.

Enable kernel options UCB_METER, EXEC_AOUT, EXEC_ELF and EXEC_SCRIPT
by default.
2015-09-03 12:51:56 -07:00

35 lines
851 B
C

/*
* Miscellaneous virtual memory subsystem variables and structures.
*
* Copyright (c) 1982, 1986 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* @(#)vmsystm.h 7.2.1 (2.11BSD GTE) 1/15/95
*/
/*
* Fork/vfork accounting.
*/
struct forkstat
{
long cntfork;
long cntvfork;
long sizfork;
long sizvfork;
};
#if defined(KERNEL) && defined(UCB_METER)
size_t freemem; /* remaining clicks of free memory */
u_short avefree; /* moving average of remaining free clicks */
u_short avefree30; /* 30 sec (avefree is 5 sec) moving average */
/*
* writable copies of tunables
*/
int maxslp; /* max sleep time before very swappable */
struct forkstat forkstat;
#endif