kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* kernel memory allocation
@ 2011-06-03 18:07 Amirali Shambayati
  2011-06-03 18:38 ` João Eduardo Luís
  0 siblings, 1 reply; 7+ messages in thread
From: Amirali Shambayati @ 2011-06-03 18:07 UTC (permalink / raw)
  To: kernelnewbies

Hello all,

I just want to allocate memory for a struct instantiation. Would anyone
guide me what arguments I should pass to "kmalloc_node"?
Regards,
-- 
Amirali Shambayati
Bachelor Student
Computer Engineering Department
Sharif University of Technology
Tehran, Iran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110603/3dceef79/attachment.html 

^ permalink raw reply	[flat|nested] 7+ messages in thread
* kernel memory allocation
@ 2011-12-23  2:33 J.Hwan Kim
  2011-12-23  3:02 ` Dave Hylands
  0 siblings, 1 reply; 7+ messages in thread
From: J.Hwan Kim @ 2011-12-23  2:33 UTC (permalink / raw)
  To: kernelnewbies

Hi, everyone

How can I allocated contiguous kernel memory over 128MB ?
When I use _get_free_pages() function, it returns error.
I guess the memory size is greater than the amount which the function
can allocate.

Thanks in advance.

Best Regards,
J.Hwan Kim

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

end of thread, other threads:[~2011-12-23  3:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-03 18:07 kernel memory allocation Amirali Shambayati
2011-06-03 18:38 ` João Eduardo Luís
     [not found]   ` <BANLkTin5f+tdmf_43w-4SS1P=8gMGuCc6w@mail.gmail.com>
2011-06-03 19:40     ` João Eduardo Luís
     [not found]       ` <BANLkTi=h-fcM4=fP31AMDHxwbevuKAPtNA@mail.gmail.com>
     [not found]         ` <BANLkTikYGpzsqWVgCNYPAZv_FZy3cgJJFQ@mail.gmail.com>
2011-06-03 20:46           ` João Eduardo Luís
2011-06-03 21:13       ` Jeff Haran
  -- strict thread matches above, loose matches on Subject: below --
2011-12-23  2:33 J.Hwan Kim
2011-12-23  3:02 ` Dave Hylands

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).