lkml.org 
[lkml]   [2012]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectallocation 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



\
 
 \ /
  Last update: 2012-08-09 18:22    [W:5.693 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site