__get_fre_pages problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi all , 

i have a machine with 256Mb of RAM.

i am using __get_free_pages{order 9} to get 2Mb memory
( want it to be continous) in a module. i am accessing
this memory in interrupt context..

my system crashes down when i access this memory  in
interrupt context. during allocation i check that if
__get_free_pages fails ( pointer returned is NULL) , i
return an error.so i hope i am using memory in the
interrupt context only if __get_free_pages succeeded.

plz tell me what may be possible problem 

Rgds,
pankaj




________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more. 
Go to: http://in.insurance.yahoo.com/licspecial/index.html

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux