RE: Kernel oops in mm/slab.c [ kmem_cache_grow() ] with test4-8

2000-09-18 Thread Jonathan Earle
Title: RE: Kernel oops in mm/slab.c [ kmem_cache_grow() ] with test4-8







> -Original Message-
> From: Andrew Morton [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 15, 2000 11:47 PM
> To: Earle, Jonathan [KAN:1A31:EXCH]
> Cc: Linux MPLS List (E-mail); Linux Kernel List (E-mail)
> Subject: Re: Kernel oops in mm/slab.c [ kmem_cache_grow() ] 
> with test4-8
> 
> 
> > Jonathan Earle wrote:
> > 
> > Hi,
> > 
> > I've been having kernel oopses with the 2.4.0-test series and am
> > including ksymoops processed output from both test4 and test5
> > kernels.  The same oops happens in later kernels too (Tested with
> > test6, test7 and test8).
> > 
> 
> Presumably mpls_output() is doing a kmalloc(..., GFP_KERNEL) 
> from within
> a softirq.  Hunt that down and turn it into GFP_ATOMIC.


Okay... Did that (turned all the GFP_KERNEL refereces in net/mpls to GFP_ATOMIC, and the problem seems to have gone away, I'll post a more confident summary when I'm more sure that things are working properly.

Now, what did I do (aside from fixing the problem) by changing that reference?


Many thanks for the hint!! 


Jon





RE: Kernel oops in mm/slab.c [ kmem_cache_grow() ] with test4-8

2000-09-18 Thread Jonathan Earle
Title: RE: Kernel oops in mm/slab.c [ kmem_cache_grow() ] with test4-8







 -Original Message-
 From: Andrew Morton [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 15, 2000 11:47 PM
 To: Earle, Jonathan [KAN:1A31:EXCH]
 Cc: Linux MPLS List (E-mail); Linux Kernel List (E-mail)
 Subject: Re: Kernel oops in mm/slab.c [ kmem_cache_grow() ] 
 with test4-8
 
 
  Jonathan Earle wrote:
  
  Hi,
  
  I've been having kernel oopses with the 2.4.0-test series and am
  including ksymoops processed output from both test4 and test5
  kernels. The same oops happens in later kernels too (Tested with
  test6, test7 and test8).
  
 
 Presumably mpls_output() is doing a kmalloc(..., GFP_KERNEL) 
 from within
 a softirq. Hunt that down and turn it into GFP_ATOMIC.


Okay... Did that (turned all the GFP_KERNEL refereces in net/mpls to GFP_ATOMIC, and the problem seems to have gone away, I'll post a more confident summary when I'm more sure that things are working properly.

Now, what did I do (aside from fixing the problem) by changing that reference?


Many thanks for the hint!! 


Jon





Re: Kernel oops in mm/slab.c [ kmem_cache_grow() ] with test4-8

2000-09-15 Thread Andrew Morton

> Jonathan Earle wrote:
> 
> Hi,
> 
> I've been having kernel oopses with the 2.4.0-test series and am
> including ksymoops processed output from both test4 and test5
> kernels.  The same oops happens in later kernels too (Tested with
> test6, test7 and test8).
> 

Presumably mpls_output() is doing a kmalloc(..., GFP_KERNEL) from within
a softirq.  Hunt that down and turn it into GFP_ATOMIC.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Kernel oops in mm/slab.c [ kmem_cache_grow() ] with test4-8

2000-09-15 Thread Andrew Morton

 Jonathan Earle wrote:
 
 Hi,
 
 I've been having kernel oopses with the 2.4.0-test series and am
 including ksymoops processed output from both test4 and test5
 kernels.  The same oops happens in later kernels too (Tested with
 test6, test7 and test8).
 

Presumably mpls_output() is doing a kmalloc(..., GFP_KERNEL) from within
a softirq.  Hunt that down and turn it into GFP_ATOMIC.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/