Increase BUFSIZ to 8192

Poul-Henning Kamp phk at phk.freebsd.dk
Thu May 14 08:01:43 UTC 2015


--------
In message <1431542835.1221.30.camel at freebsd.org>, Ian Lepore writes:
>On Wed, 2015-05-13 at 11:13 -0700, John-Mark Gurney wrote:

>As I've already pointed out, BUFSIZ appears in the
>base code over 2000 times.  Where is the analysis of the impact an 8x
>change is going to have on all those uses?

Not to pick on Ian in particular, but I'm going to call bike-shed
on this discussion now.

Please just make it 4K on 32bit archs and 16K on 64 bit archs, and
get on with your lives.

If experience in -current (that's why developers run current, right ?!)
documents that this was the wrong decision, we can revisit it.

Until then:  Shut up and code.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list