Subject: Re: -pipe significantly boosts up kernel compile speed
To: enami tsugutomo <email@example.com>
From: Jaromir Dolecek <firstname.lastname@example.org>
Date: 07/07/2002 21:09:07
enami tsugutomo wrote:
> > From: Jaromir Dolecek <email@example.com>
> > Message-Id: <firstname.lastname@example.org>
> > Never checked that, but AFAIK stdio uses whatever stat(2)
> > on the descriptor says about block size, and pipe_stat()
> > reports PIPE_SIZE (16K) as the block size.
> Where is the code?
lib/libc/stdio/makebuf.c seems to be doing that. That code
is using st_blksize to allocate buffer, at least.
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.org/Ports/i386/ps2.html
-=- We should be mindful of the potential goal, but as the tantric -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow. Do not let this distract you.'' -=-