docs/how-to-build.md: use proper markup for directory names
[unleashed/tickless.git] / include / sys / tuneable.h
blobd212e50d5e725a88454491ebd297693bd9558376
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
22 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
23 /* All Rights Reserved */
26 #ifndef _SYS_TUNEABLE_H
27 #define _SYS_TUNEABLE_H
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
33 typedef struct tune {
34 int t_gpgslo; /* If freemem < t_getpgslow, then start */
35 /* to steal pages from processes. */
36 int t_pad[7]; /* Padding for driver compatibility. */
37 int t_fsflushr; /* The rate at which fsflush is run in */
38 /* seconds. */
39 int t_minarmem; /* The minimum available resident (not */
40 /* swappable) memory to maintain in */
41 /* order to avoid deadlock. In pages. */
42 int t_minasmem; /* The minimum available swappable */
43 /* memory to maintain in order to avoid */
44 /* deadlock. In pages. */
45 int t_flckrec; /* max number of active frlocks */
46 } tune_t;
48 extern tune_t tune;
51 * The following is the default value for t_gpgsmsk. It cannot be
52 * defined in /etc/master or /stand/system due to limitations of the
53 * config program.
56 #define GETPGSMSK PG_REF|PG_NDREF
58 #ifdef __cplusplus
60 #endif
62 #endif /* _SYS_TUNEABLE_H */