Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/httpd on m68010 set BOZO_WRSZ to 16k and BOZO_WRSZ t...



details:   https://anonhg.NetBSD.org/src/rev/7c36f467cb30
branches:  trunk
changeset: 449476:7c36f467cb30
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Mar 08 03:12:28 2019 +0000

description:
on m68010 set BOZO_WRSZ to 16k and BOZO_WRSZ to 64k.

diffstat:

 libexec/httpd/bozohttpd.h |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 83c0f1e89292 -r 7c36f467cb30 libexec/httpd/bozohttpd.h
--- a/libexec/httpd/bozohttpd.h Fri Mar 08 03:05:15 2019 +0000
+++ b/libexec/httpd/bozohttpd.h Fri Mar 08 03:12:28 2019 +0000
@@ -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 @@
        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)



Home | Main Index | Thread Index | Old Index