public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* allocation of contiguous memory in kernel mode
@ 2012-08-09 15:47 J.Hwan Kim
  2012-08-13 22:02 ` Chris Friesen
  0 siblings, 1 reply; 2+ messages in thread
From: J.Hwan Kim @ 2012-08-09 15:47 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-13 22:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-09 15:47 allocation of contiguous memory in kernel mode J.Hwan Kim
2012-08-13 22:02 ` Chris Friesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox