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

Re: getting panic during kmalloc



Hi...

On Wed, Jul 2, 2008 at 2:28 PM, gagan grover <grovershah@xxxxxxxxx> wrote:
> Hi
> I have a requirement of creating 1M buffers of 24 bytes.
> So, my driver is calling kmalloc in loop but it is giving following panic
> after some iterations.
> System have 4 GB RAM and I was continuosly checking top, it had sufficient
> memory to allocate.

big chance, it fails to get physically contigous pages. How do you
call kmalloc and what flags do you use anyway?

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