Re: single copy pipe/fifo

From: David S. Miller (davem@redhat.com)
Date: Wed Feb 07 2001 - 16:16:05 EST


Manfred Spraul writes:
> process 2 (on cpu 1)
> read(fd,buf,64kB).
> * reads the data
> * now it must wake up, but it will return from the syscall, thus
> wake_up_interruptible().

Oh, I see and thus the pre-kiovec case would be:

process 2 (on cpu 1)
        read(fd, buf,64kb)
        * reads 4K
        * wake_up_interruptible_sync()
        * sleep()
        * reads 4K

etc etc.

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 07 2001 - 21:00:28 EST