Re: kernel BUG at page_alloc.c:98 -- compiling with distcc

From: Andrew Morton
Date: Thu Apr 29 2004 - 16:33:42 EST


Marcelo Tosatti <marcelo.tosatti@xxxxxxxxxxxx> wrote:
>
> > Andrea fixed this in his tree by deferring the page free to process context
> > instead of BUG()ing on PageLRU(page).
>
> Yeap, his fix looks OK.

It does.

It would be nice to change

if (in_interrupt())

to

if (in_interrupt() || ((count++ % 10000) == 0))

just to exercise that code path a bit more.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/