[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87my9zpjqe.fsf@basil.nowhere.org>
Date: Wed, 29 Apr 2009 17:23:05 +0200
From: Andi Kleen <andi@...stfloor.org>
To: linux-kernel@...r.kernel.org
Subject: Re: splice() on two pipes
Max Kellermann <max@...mpel.org> writes:
I don't think splice is about handling all possible cases,
but just cases where the kernel can do better than user space.
I don't think that's the case here.
> when I read about the splice() system call, I thought it was obvious
> that it could copy data between two pipes.
It would be more efficient if you used fd passing to pass the fd
around to the other process and let it read directly.
-Andi
--
ak@...ux.intel.com -- Speaking for myself only.
--
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