Messages in this thread | | | Date | Fri, 10 Aug 2012 00:47:02 +0900 | From | "J.Hwan Kim" <> | Subject | allocation of contiguous memory in kernel mode |
| |
Hi, everyone
I wish to alloc physically contiguous memory in kernel mode. I used the __get_free_pages(gfp_mask, order) function, but it fails occasionary. I guess it is caused by memory fragmentation. My code is kernel driver module which cannot use bootmem allocation and its platform is x86_64. My server desktop has 20GB memory. I wish to know the method to allocate physically contiguous memory not failing by fragmentation.
Thanks in advance.
Best Regards, J.Hwan Kim
| |