[lkml]   [2002]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: Alloc and lock down large amounts of memory
On Tue, 2002-08-20 at 23:08, Bhavana Nagendra wrote:
> >
> > Curiosity: why do you want to do device DMA buffer
> > allocation from userland?
> Gilad, I looked at mm/memory.c and map_user_kiobuf() lets me
> map user memory into kernel memory and pins it down. A scatter
> gatter mapping (say, pci_map_sg()) will create a seemingly
> contiguous buffer for DMA purposes. Does that sound right to you?

Can your device actually use scatter gather (has 'virtual bus addresses'
or can get the buffer in several chunks?) Can the device actually DMA
all the memory in the system?

In short, I have no idea. :-)

Gilad Ben-Yossef <>

"Money talks, bullshit walks and GNU awks."
-- Shachar "Sun" Shemesh, debt collector for the GNU/Yakuza

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:22    [W:0.157 / U:13.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site