From: Boyd Roberts <boyd@strakt.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] RDMA: DMA over TCP/IP at IETF
Date: Tue, 11 Dec 2001 11:57:22 +0100 [thread overview]
Message-ID: <3C15E692.18FA79CB@strakt.com> (raw)
In-Reply-To: <3C15925F.73746F2A@null.net>
"Douglas A. Gwyn" wrote:
> many times, e.g. on some variants of Unix
> there were hacks so that a user-mode buffer
> that an application arranged to be page-
> aligned would be directly mapped onto the
> kernel address space so DMA (for example)
> would directly get/put the data where the
> application wanted it. It would of course
> be much better if this didn't have to be
> done as a hack.
Some versions for the VAX mapped the UNIBUS address space
smack on top on the clists so if you had tty h/w that could
DMA (the DZ-11? or did you need KMC's for that?) you wouldn't
have to map the UNIBUS for each DMA. This was a grody hack,
but the alternatives were just too slow, particularily if
you wanted to support 128 students on a '780.
Mapping it into user mode is a real can of worms; not only is
it highly unportable it really messes up the memory management
because pages have to be locked. Locking is a nightmare; don't
lock and you lose, have too many locks and horrible bugs appear
either immediately [bad] or months/years later [worse].
next prev parent reply other threads:[~2001-12-11 10:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-11 13:17 George Michaelson
2001-12-11 10:08 ` Douglas A. Gwyn
2001-12-11 10:57 ` Boyd Roberts [this message]
2001-12-12 9:47 ` Douglas A. Gwyn
2001-12-12 11:11 ` Boyd Roberts
2001-12-12 13:46 rob pike
2001-12-12 17:30 ` Boyd Roberts
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=3C15E692.18FA79CB@strakt.com \
--to=boyd@strakt.com \
--cc=9fans@cse.psu.edu \
/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;
as well as URLs for NNTP newsgroup(s).