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

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

 



On 08/09/2016 02:58 AM, Yehuda Yitschak wrote:
> I would appreciate any advice on this issue

This is kinda a FAQ at this point.  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.

It's backwards from how you're doing it now, but it makes things easier
down the road.

--
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]