LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: "Yu-Chen Wu" <g944370@oz.nthu.edu.tw>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: Can a buffer allocated by "vmalloc( )" be used to make DMA transmission (the buffer will be used by BIO structure) on X86_64 platform?
Date: Wed, 17 Jan 2007 15:11:27 +0100	[thread overview]
Message-ID: <s5hsle9zqsw.wl%tiwai@suse.de> (raw)
In-Reply-To: <015c01c7397b$e9eb6fb0$0100a8c0@sslabmayasky>

At Tue, 16 Jan 2007 22:37:56 +0800,
Yu-Chen Wu wrote:
> 
> Hi all,
> Can a buffer allocated by "vmalloc( )" be used to make DMA transmission (the
> buffer will be used by BIO structure) on X86_64 platform?
> I need a big buffer (cache) maybe 64MB or bigger, so I call vmalloc to
> allocate the buffer.
> If possible, how to get the pages in the buffer?

You can resolve the page via vmalloc_to_page(), and pass it in nopage
callback.


Takashi

      reply	other threads:[~2007-01-17 14:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-16 14:37 Yu-Chen Wu
2007-01-17 14:11 ` Takashi Iwai [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=s5hsle9zqsw.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=g944370@oz.nthu.edu.tw \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: Can a buffer allocated by "vmalloc( )" be used to make DMA transmission (the buffer will be used by BIO structure) on X86_64 platform?' \
    /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

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).