Subject: Re: -pipe significantly boosts up kernel compile speed
To: enami tsugutomo <enami@but-b.or.jp>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: current-users
Date: 07/07/2002 21:09:07
enami tsugutomo wrote:
> > From: Jaromir Dolecek <jdolecek@netbsd.org>
> > Message-Id: <200207050937.g659bj001848@s102-n054.tele2.cz>
> >
> > 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
--
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.'' -=-