[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <412e6f7f0907021745k41e5c7aeua35200d5047c1aa@mail.gmail.com>
Date: Fri, 3 Jul 2009 08:45:47 +0800
From: Changli Gao <xiaosuo@...il.com>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
Cc: Amerigo Wang <xiyou.wangcong@...il.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: PROPOSAL: extend pipe() to support NULL argument.
On Thu, Jul 2, 2009 at 6:42 PM, Alan Cox<alan@...rguk.ukuu.org.uk> wrote:
> On Thu, 2 Jul 2009 17:18:49 +0800
> Changli Gao <xiaosuo@...il.com> wrote:
>
>> On Thu, Jul 2, 2009 at 5:13 PM, Amerigo Wang<xiyou.wangcong@...il.com> wrote:
>> > On Thu, Jul 02, 2009 at 03:36:41PM +0800, Changli Gao wrote:
>> >
>> > Why? Why do you need this feature?
>> >
>> Are you familiar with splice() and tee()? They both use pipes as kernel buffers.
>
> And are being used quite happily with the pipe() call. So what is the
> problem ?
>
No problem! But I just want to save a fd. As one RW pipe fd is enough
for splicing.
--
Regards,
Changli Gao(xiaosuo@...il.com)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists