From: Arjan van de Ven <arjanv@redhat.com>
To: Martin Drab <drab@kepler.fjfi.cvut.cz>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: mmap(2)ping of pci_alloc_consistent() allocated buffers on 2.4 kernels question/help
Date: Fri, 16 Sep 2005 23:46:32 +0200 [thread overview]
Message-ID: <20050916214632.GA13136@devserv.devel.redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.60.0509162302310.14757@kepler.fjfi.cvut.cz>
On Fri, Sep 16, 2005 at 11:24:08PM +0200, Martin Drab wrote:
>
> And would that help anyhow?
yes it would
> (obtained via the RT FIFO) that he wants to mmap, the ioctl mmaps it to
> the app., app. uses the data, and then calls another ioctl to unmap the
> buffer and release it for next filling.
don't use ioctls for this; the driver can just provide an mmap method and
you can map this pci alloc'd ram straight into the userspace app...
next prev parent reply other threads:[~2005-09-16 21:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-16 18:33 Martin Drab
2005-09-16 18:50 ` Arjan van de Ven
2005-09-16 21:24 ` Martin Drab
2005-09-16 21:40 ` Martin Drab
2005-09-16 21:46 ` Arjan van de Ven [this message]
2005-09-16 21:49 ` Martin Drab
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=20050916214632.GA13136@devserv.devel.redhat.com \
--to=arjanv@redhat.com \
--cc=drab@kepler.fjfi.cvut.cz \
--cc=linux-kernel@vger.kernel.org \
/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®