public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Mikael Starvik <mikael.starvik@axis.com>
Cc: "'Alan Shih'" <alan@storlinksemi.com>,
	"'Alan Cox'" <alan@lxorguk.ukuu.org.uk>,
	"'Linux Kernel Mailing List'" <linux-kernel@vger.kernel.org>
Subject: Re: Question regarding DMA xfer to user space directly
Date: Thu, 10 Jul 2003 12:26:55 +0200	[thread overview]
Message-ID: <20030710102655.GN825@suse.de> (raw)
In-Reply-To: <3C6BEE8B5E1BAC42905A93F13004E8AB03277A7C@mailse01.axis.se>

On Thu, Jul 10 2003, Mikael Starvik wrote:
> Hi,
> 
> Use map_user_kiobuf to do this. There are several examples
> in the kernel tree. One of the simplest may be 
> arch/cris/drivers/examples/kiobuftest.c.

get_user_pages() is a much better idea, considering 2.5/6 has no concept
of kiobufs.

-- 
Jens Axboe


  reply	other threads:[~2003-07-10 10:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3C6BEE8B5E1BAC42905A93F13004E8AB034C5623@mailse01.axis.se>
2003-07-10  5:22 ` Question regarding DMA xfer to user space directly Mikael Starvik
2003-07-10 10:26   ` Jens Axboe [this message]
2003-07-10 20:55 Lee, Shuyu
  -- strict thread matches above, loose matches on Subject: below --
2003-07-08 14:50 Alan Shih
2003-07-08 15:22 ` Alan Cox
2003-07-09 17:35   ` Alan Shih

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=20030710102655.GN825@suse.de \
    --to=axboe@suse.de \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=alan@storlinksemi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikael.starvik@axis.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