From: "David S. Miller" <davem@redhat.com>
To: Manfred Spraul <manfred@colorfullife.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: single copy pipe/fifo
Date: Wed, 7 Feb 2001 13:16:05 -0800 (PST) [thread overview]
Message-ID: <14977.47893.105950.209438@pizda.ninka.net> (raw)
In-Reply-To: <3A81B9C8.476E66CF@colorfullife.com>
In-Reply-To: <3A81AE75.3CEF5577@colorfullife.com> <14977.46399.167035.94694@pizda.ninka.net> <3A81B9C8.476E66CF@colorfullife.com>
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/
prev parent reply other threads:[~2001-02-07 21:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-07 20:22 Manfred Spraul
2001-02-07 20:51 ` David S. Miller
2001-02-07 21:10 ` Manfred Spraul
2001-02-07 21:16 ` David S. Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14977.47893.105950.209438@pizda.ninka.net \
--to=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®