summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/vmparam.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-03-30 07:17:05 +0000
committerpeter <peter@FreeBSD.org>2000-03-30 07:17:05 +0000
commit7f3e149212abaea502b1815e03809f8697c2bfc7 (patch)
tree05bff4ab78325496ace5f3182e7fdecf4e9ca4c3 /sys/i386/include/vmparam.h
parent64a882c3a4eff3ae2cef0d122a0bbb325033ae9e (diff)
downloadFreeBSD-src-7f3e149212abaea502b1815e03809f8697c2bfc7.zip
FreeBSD-src-7f3e149212abaea502b1815e03809f8697c2bfc7.tar.gz
Make sysv-style shared memory tuneable params fully runtime adjustable
via sysctl. It's done pretty simply but it should be quite adequate. Also move SHMMAXPGS from $machine/include/vmparam.h as the comments that went with it were wrong... we don't allocate KVM space for the pages so that comment is bogus.. The only practical limit is how much physical ram you want to lock up as this stuff isn't paged out or swap backed.
Diffstat (limited to 'sys/i386/include/vmparam.h')
-rw-r--r--sys/i386/include/vmparam.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/i386/include/vmparam.h b/sys/i386/include/vmparam.h
index 0a5847d..b108124 100644
--- a/sys/i386/include/vmparam.h
+++ b/sys/i386/include/vmparam.h
@@ -72,13 +72,6 @@
#define USRTEXT (1*PAGE_SIZE) /* base of user text XXX bogus */
/*
- * Size of the Shared Memory Pages page table.
- */
-#ifndef SHMMAXPGS
-#define SHMMAXPGS 1024 /* XXX until we have more kmap space */
-#endif
-
-/*
* The time for a process to be blocked before being very swappable.
* This is a number of seconds which the system takes as being a non-trivial
* amount of real time. You probably shouldn't change this;
OpenPOWER on IntegriCloud