memory mapping of memory allocated by alloc_bootmem_pages

From: Eric Silverstein
Date: Tue Jun 10 2008 - 10:12:49 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/