[Top] [All Lists]

Re: kernel BUG at slab.c:1073!

Subject: Re: kernel BUG at slab.c:1073!
From: Krishna Kondaka <>
Date: Wed, 24 Jul 2002 12:08:34 -0700 (PDT)
Reply-to: Krishna Kondaka <>
>> slab.c : line 1072-1073 is        
>> if (in_interrupt() && (flags & SLAB_LEVEL_MASK) != SLAB_ATOMIC)
>>                 BUG();
>> The driver being loaded is a small proprietary driver. The init routine of
>> the driver is doing kmalloc() with GFP_KERNEL as the second argument. I know
>> that I can fix my driver to use GFP_ATOMIC if running in interrupt context.
>> My question is why is the "insmod" command running in interrupt context?
>I don't think insmod should have interrupt context set.
>Do you have preemptible kernel enabled?  This problem often happens if 
>preemptible kernel is enabled and there is a missing interrupt path not pre-k 

Thanks for the quick reply jun,

I don't think I am running preemptible kernel. Is there /proc file that shows
if I am running preemptible kernel or not?



<Prev in Thread] Current Thread [Next in Thread>