On 08/10/2016 12:36 AM, Yehuda Yitschak wrote: >>> But, the thing I generally suggest is that you >>> allocate hugetlbfs memory or anonymous transparent huge pages in >>> your applciation via the _normal_ mechanisms, and then hand a >>> pointer to that in to your driver. > Thanks. I can try that. Once I hand the pointer to the driver, is > there a standard API to map user-space memory to kernel space. Yes. It's probably worth reading: http://www.oreilly.com/openbook/linuxdrive3/book/ch15.pdf -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>