I wrote about this a couple of weeks ago on the mailing list but never got
an answer. remap_page_range will _NOT_ work if you try to map pages allocated by
__get_free_pages onto user space. You _NEED_ to use the PG_reserved bit.
Otherwise remap_page_range fails. Ashok is right on this one. Once the
PG_reserved bit is set though, remap_page_range will work fine.
Karim
===================================================
Karim Yaghmour
karym@opersys.com
Operating System Consultant
(Linux kernel, real-time and distributed systems)
===================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/