Skip to contentSkip to conversation

memory mapping of memory allocated by alloc_bootmem_pages

DISCUSSION Eric Silverstein 1 participant 1 message Jun 10, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

I just want to make sure that I didn't miss any limitation about memory mapping: I would like to allocate a huge amount of contiguous physical memory for a userspace application. I was thinking about using something like alloc_bootmem_pages and mmap it, so I can use it from userland. Should this work?

Thanks,
Eric