[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <s5hsle9zqsw.wl%tiwai@suse.de>
Date: Wed, 17 Jan 2007 15:11:27 +0100
From: Takashi Iwai <tiwai@...e.de>
To: "Yu-Chen Wu" <g944370@...nthu.edu.tw>
Cc: <linux-kernel@...r.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?
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists