summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2001-12-09 01:57:09 +0000
committerdillon <dillon@FreeBSD.org>2001-12-09 01:57:09 +0000
commit6fe4980d4399bb62f3fa11609d93e5bf547d8f11 (patch)
tree984073874a0fe22a637b08b562d194a06c9231ee /sys/alpha
parent2d4ab797edceb2f8ae654e137e3d0b2f1f94f8b3 (diff)
downloadFreeBSD-src-6fe4980d4399bb62f3fa11609d93e5bf547d8f11.zip
FreeBSD-src-6fe4980d4399bb62f3fa11609d93e5bf547d8f11.tar.gz
Allow maxusers to be specified as 0 in the kernel config, which will
cause the system to auto-size to between 32 and 512 depending on the amount of memory. MFC after: 1 week
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/machdep.c3
-rw-r--r--sys/alpha/conf/GENERIC2
-rw-r--r--sys/alpha/conf/NOTES2
3 files changed, 4 insertions, 3 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c
index e31b2cd..fc94dd6 100644
--- a/sys/alpha/alpha/machdep.c
+++ b/sys/alpha/alpha/machdep.c
@@ -556,7 +556,7 @@ alpha_init(pfn, ptb, bim, bip, biv)
kern_envp = bootinfo.envp;
/* Do basic tuning, hz etc */
- init_param();
+ init_param1();
/*
* Initalize the (temporary) bootstrap console interface, so
@@ -861,6 +861,7 @@ alpha_init(pfn, ptb, bim, bip, biv)
physmem -= (sz - nsz);
}
}
+ init_param2(physmem);
/*
* Initialize error message buffer (at end of core).
diff --git a/sys/alpha/conf/GENERIC b/sys/alpha/conf/GENERIC
index e55b660..efcfcaa 100644
--- a/sys/alpha/conf/GENERIC
+++ b/sys/alpha/conf/GENERIC
@@ -25,7 +25,7 @@ machine alpha
cpu EV4
cpu EV5
ident GENERIC
-maxusers 32
+maxusers 0
#To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints"
diff --git a/sys/alpha/conf/NOTES b/sys/alpha/conf/NOTES
index e55b660..efcfcaa 100644
--- a/sys/alpha/conf/NOTES
+++ b/sys/alpha/conf/NOTES
@@ -25,7 +25,7 @@ machine alpha
cpu EV4
cpu EV5
ident GENERIC
-maxusers 32
+maxusers 0
#To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints"
OpenPOWER on IntegriCloud