Re: getting panic during kmalloc

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

 



Hi...


On Wed, Jul 9, 2008 at 1:03 PM, gagan grover <grovershah@xxxxxxxxx> wrote:
> I have tried kmalloc with both GFP_KERNEL and GFP_ATOMIC.
> and if i m using delay in the loop then it runs for more iterations.
> Without delay it was running approx. 95K iterations but after the delay of
> 40 us,
> it is running approx. 256K iterations... and giving the same panic after
> it.........

I'm not surprised if GFP_ATOMIC can't give that many bytes, since
atomic pool is limited. Try ORing GFP_KERNEL with GFP_HIGHMEM so you
can grab pages from highmem zone.

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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