Subject: Re: bi-directional pipes?
To: Paul Kranenburg <>
From: Jason R Thorpe <>
List: tech-kern
Date: 02/04/2003 08:27:09
On Tue, Feb 04, 2003 at 03:21:18PM +0100, Paul Kranenburg wrote:

 > Our pipe(2) system call internally creates data structures to enable
 > bi-directional traffic (inherited from FreeBSD). We don't currently
 > use this. We don't even expose it at all since the pipe descriptors are
 > marked read-only and write-only.
 > The question is: do we want to hang on to this?
 > If not, the code can be simplified, which, among other things, would
 > reduce complexity of an MP-safe locking design (something that FreeBSD
 > hasn't got right either, as far as I can tell).

I'd say simplify.

        -- Jason R. Thorpe <>