summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1996-02-18 11:20:23 +0000
committertholo <tholo@openbsd.org>1996-02-18 11:20:23 +0000
commit00f0a5a81c1bb37b8927a1ffd5097877b7eeda7e (patch)
tree9cd263c900343d55d5a47ba58f3edaa58eee65b9
parentgcc and g++ now use /tmp instead of /var/tmp. #ifdef 0's were used to (diff)
downloadwireguard-openbsd-00f0a5a81c1bb37b8927a1ffd5097877b7eeda7e.tar.xz
wireguard-openbsd-00f0a5a81c1bb37b8927a1ffd5097877b7eeda7e.zip
Use MAXPHYS for MAXBSIZE for all platforms but i386; use 32K on i386 until
pmap can be fixed
-rw-r--r--sys/sys/param.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/sys/param.h b/sys/sys/param.h
index 951aeaec4cb..0a1eb5c454c 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -154,7 +154,11 @@
* made larger without any effect on existing file systems; however making
* it smaller make make some file systems unmountable.
*/
-#define MAXBSIZE 16384 /* XXX MAXPHYS */
+#if defined(__i386__)
+#define MAXBSIZE 32768 /* XXX MAXPHYS */
+#else
+#define MAXBSIZE MAXPHYS
+#endif
#define MAXFRAG 8
/*