Subject: MSGBUFSIZE/param.h
To: Francois SCALA <scala@bocal.cs.univ-paris8.fr>
From: Gordon W. Ross <gwr@netbsd.org>
List: netbsd-bugs
Date: 04/03/1999 11:08:08
The message buffer size is NOT user-adjustable on the sun3.
(Not sure about the sparc, but I think the same is true.)
Francois SCALA writes:
>
> sorry if the probleme is already known.
> sorry agin if i post to the bad mailing-list.
>
> i try to change the MSGBUFSIZE in configuration file but an definition
> conflict with param.h.
>
> i propose an little change of the folowing file to avoid the problem.
>
> /sys/arch/sparc/include/param.h:
> < #define MSGBUFSIZE 4096
>
> > #ifndef MSGBUFSIZE
> > #define MSGBUFSIZE 4096
> > #endif /* MSGBUFSIZE */
>
> the same problem appear in the following arch (same file)
>
> sparc64:
> >
> > #define MSGBUFSIZE NBPG
> >
>
> sun3:
> >
> > #define MSGBUFOFF 0x200
> > #define MSGBUFSIZE (NBPG - MSGBUFOFF)
> >
> --
> _ /
> o O
> +-+-------------------o0Oo--o--oO0o---------------+-\
> |o: #define Pseudo "Gx2" +--\
> |o: #define EMAIL "scala@bocal.cs.univ-paris8.fr" |ooo\
> |o: #define Home_Page "www.cs.univ-paris8.fr/~scala" :o|
> +-+-------------------oooO-----Oooo------------------+-+
> \ \ / /
> \_/ \_/
>