lkml.org 
[lkml]   [1997]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: freepages in proc doesn't work right.
Date
  "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.


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.062 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site