mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Yu-Chen Wu" <g944370@oz.nthu.edu.tw>
To: <linux-kernel@vger.kernel.org>
Subject: Could convert a buffer that allocated by vmalloc to pages?
Date: Tue, 23 Jan 2007 21:04:40 +0800	[thread overview]
Message-ID: <030701c73eef$0b4d0010$0100a8c0@sslabmayasky> (raw)

Hi,
I write a driver have a big buffer (16MB,allocated by vmalloc).
I want to use the buffer to do DMA transmission so I need getting the pages
of the buffer.
Have any kernel API can do this?
My platform is x86_64 and 2GB RAM

THX


             reply	other threads:[~2007-01-23 13:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-23 13:04 Yu-Chen Wu [this message]
2007-01-23 13:12 ` Anton Altaparmakov
2007-01-23 14:15   ` Yu-Chen Wu
2007-01-23 14:50     ` Anton Altaparmakov
2007-01-23 15:40       ` Yu-Chen Wu
2007-01-23 19:36         ` Anton Altaparmakov
2007-01-23 15:42     ` Kyle McMartin

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='030701c73eef$0b4d0010$0100a8c0@sslabmayasky' \
    --to=g944370@oz.nthu.edu.tw \
    --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®