diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-07-11 13:06:41 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-07-11 13:06:41 +0000 |
| commit | bef7db2e66d06b818412c8f43b49d6eebfce10ad (patch) | |
| tree | a78a3391d3b492c0b0d59eb1e898c8c7646f63b6 /sys/kern/kern_synch.c | |
| parent | a435d1e61b882527e0f996faed7fe43a468cb375 (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_synch.c')
| -rw-r--r-- | sys/kern/kern_synch.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c index 99d192b5bf10..6fa55d498f6b 100644 --- a/sys/kern/kern_synch.c +++ b/sys/kern/kern_synch.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_synch.c 8.9 (Berkeley) 5/19/95 - * $Id: kern_synch.c,v 1.58 1998/06/21 18:02:43 bde Exp $ + * $Id: kern_synch.c,v 1.59 1998/06/30 21:25:54 phk Exp $ */ #include "opt_ktrace.h" @@ -216,6 +216,10 @@ roundrobin(arg) static fixpt_t ccpu = 0.95122942450071400909 * FSCALE; /* exp(-1/20) */ SYSCTL_INT(_kern, OID_AUTO, ccpu, CTLFLAG_RD, &ccpu, 0, ""); +/* kernel uses `FSCALE', user uses `fscale' */ +static int fscale = FSCALE; +SYSCTL_INT(_kern, OID_AUTO, fscale, CTLFLAG_RD, 0, FSCALE, ""); + /* * If `ccpu' is not equal to `exp(-1/20)' and you still want to use the * faster/more-accurate formula, you'll have to estimate CCPU_SHIFT below |
