Module Name: src
Committed By: mrg
Date: Fri Mar 8 03:12:28 UTC 2019
Modified Files:
src/libexec/httpd: bozohttpd.h
Log Message:
on m68010 set BOZO_WRSZ to 16k and BOZO_WRSZ to 64k.
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/libexec/httpd/bozohttpd.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/httpd/bozohttpd.h
diff -u src/libexec/httpd/bozohttpd.h:1.59 src/libexec/httpd/bozohttpd.h:1.60
--- src/libexec/httpd/bozohttpd.h:1.59 Thu Feb 28 08:28:21 2019
+++ src/libexec/httpd/bozohttpd.h Fri Mar 8 03:12:28 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: bozohttpd.h,v 1.59 2019/02/28 08:28:21 mrg Exp $ */
+/* $NetBSD: bozohttpd.h,v 1.60 2019/03/08 03:12:28 mrg Exp $ */
/* $eterna: bozohttpd.h,v 1.39 2011/11/18 09:21:15 mrg Exp $ */
@@ -199,6 +199,16 @@ typedef struct bozoprefs_t {
char **value; /* values for the name entries */
} bozoprefs_t;
+/* sun2 has a tiny VA range */
+#ifdef __mc68010__
+#ifndef BOZO_WRSZ
+#define BOZO_WRSZ (16 * 1024)
+#endif
+#ifndef BOZO_MMAPSZ
+#define BOZO_MMAPSZ (BOZO_WRSZ * 4)
+#endif
+#endif
+
/* by default write in upto 64KiB chunks, and mmap in upto 64MiB chunks */
#ifndef BOZO_WRSZ
#define BOZO_WRSZ (64 * 1024)