kmalloc freeze

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

 



Dear List,

I try to use kmalloc in a kernel patch. It is called at the very beginning
of the boot process. It initialises the system clock from the RTC. It is
running on an mpc860 platform.

I try to allocate some buffers using

kmem = kmalloc(2000, GFP_KERNEL);

or 

mem_addr = __get_free_page(GFP_KERNEL);

But when I compile these lines, the boot process freezes. Do anyone has 
any idea why??? 

TIA && Good byte!

--
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