Forgot to CC kernelnewbies:

Did you pass the __GFP_COMP flag to __get_free_pages?


On 8/9/12, J.Hwan Kim <[email protected]> wrote:
> 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
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> [email protected]
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>


-- 
Regards,
Denis

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to