Increase the message buffer size on AMD64. Such machines can have a lot
of devices in them, and aren't run with only 64MB of RAM.
This commit is contained in:
parent
e6938cd35d
commit
b4ead83242
@ -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_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user