Re: getting panic during kmalloc

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

 



Hi Gagan,

Please see comments inline.

On 7/9/08, 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.........
>
> regards
> Gagan
>
> On Wed, Jul 2, 2008 at 7:05 PM, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx>
> wrote:
> > 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.

[...]
Kernel BUG at slab:1773
invalid operand: 0000 [1] SMP
[...]

Can you tell us which kernel version are you working with - so that I
can refer the code to see which BUG is this line number referring to.

[snip...]

---
Shreyansh

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