Re: BUG: sleeping function called from invalid context at kernel/fork.c:385

Sam Ravnborg
2007-06-01T06:42:30Z

On Thu, May 31, 2007 at 09:45:31PM -0700, Christoph Lameter wrote:
> On Fri, 1 Jun 2007, Sam Ravnborg wrote:
>
> > On Thu, May 31, 2007 at 09:05:54PM -0700, Christoph Lameter wrote:
> > > On Thu, 31 May 2007, Prarit Bhargava wrote:
> > >
> > > > I used the sn2_defconfig in the tree :)
> > >
> > > That is a static kernel build. Ideal for that kind of bug.
> > Quite the opposite.
>
> I thought that a static kernel build would throw out the __exit sections?
> So it should trigger the bug?
Correct. But the other section mismatch warnings that Prarit
posted was not related to .exit.text (IIRC).

Anyway I will try to do a ia64 build tonight to take a short look at it.
If there is something general then I will fix it in modpost.

Sam