Re: [PATCH,BETA] new pipe code

From: Manfred Spraul (manfreds@colorfullife.com)
Date: Wed Mar 01 2000 - 12:50:23 EST


Richard Guenther wrote:
>
>
> Can you add a hook to tune the write buffer size per pipe? (with an fcntl
> or the like)
I'll think about it.
Unfortunately, Linux guarantees that it can send 4096 bytes in one
atomic operation, and such an fcntl could violate that.

What about doing that in user space?
e.g. call sched_yield() after every few pipe operations.

--
	Manfred

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:10 EST