summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sys/msgbuf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/msgbuf.h b/sys/sys/msgbuf.h
index b5e7f44..0517384 100644
--- a/sys/sys/msgbuf.h
+++ b/sys/sys/msgbuf.h
@@ -68,8 +68,12 @@ int msgbuf_peekbytes(struct msgbuf *mbp, char *buf, int buflen,
void msgbuf_reinit(struct msgbuf *mbp, void *ptr, int size);
#ifndef MSGBUF_SIZE
+#ifdef __amd64__
+#define MSGBUF_SIZE (32768 * 2)
+#else
#define MSGBUF_SIZE 32768
#endif
+#endif
#endif /* KERNEL */
#endif /* !_SYS_MSGBUF_H_ */
OpenPOWER on IntegriCloud