[parisc-linux] Re: pipes
Richard Hirst
rhirst@linuxcare.com
Fri, 23 Feb 2001 12:25:35 +0000
On Thu, Feb 22, 2001 at 10:44:02AM -0700, Paul Bame wrote:
>
> I thought I'd write a pipe test program for laughs. Don't run this
> unless you want to cry -- it locks up my machine (both narrow
> and wide kernels) after not very many trials, though 'ping' still works.
> On a wide kernel, a TOC caught it in __down_interruptible but that
> could be normal.
Interesting, this kills my almost-cvs-head kernel, but it works
fine on one of my old kernels from Jan 11th. Sorry Alan, fixincl
fails the same on my Jan 11th kernel.
Also, it works on cvs head under strace, but that kind of synchronises
the two ends of the pipe so you get alternating reads and writes.
Richard