Re: [QUESTION] mmap of device file with huge pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]