Thread (4 messages) flat view 4 messages, 3 authors, 2012-08-10

How to allocate hugepage in kernel module?

From: J.Hwan Kim <hidden>
Date: 2012-08-09 07:14:16

Hi, everyone

How can I allocate physically contiguous huge page in kernel module ?
The routine of _get_fee_pages() fails whenever there are much free
memory in system.

I found the procedures for set hugepages with sysctl or
/proc/sys/vm/nr_hugepages
but I've not found the api for allocate the huge page in kernel.

Thanks in advnace.

Best Regards,
J.Hwan Kim
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help