Re: freepages in proc doesn't work right.

Matthias Urlichs (smurf@work.smurf.noris.de)
23 Jul 1997 11:56:52 +0200


"Kevin M. Bealer" <kmb203@psu.edu> writes:
>
> (quote from strace sh):
> write(1, "1", 1) = 1
> write(1, " 2", 2) = 2
> write(1, " 3", 2) = 2
> write(1, "\n", 1)
>
On my system (glibc, I'm afraid... maybe that has something to do with it)
both bash 1.14.7 and 2.01.0 coalesce the arguments into one write() call.

Which shell is that sh above? minimal-bash? zsh? ksh?

> From a "principle of least surprise" I would say bash and the kernel
> are both borderline here. Bash should buffer a -little- more and the
It does... as far as I can see from here.

> kernel should be a -little- more tolerant on this policy if possible.
Right.