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

Andrew Morton
2004-04-29T21:27:40Z

Marcelo Tosatti <marcelo.tosatti@cyclades.com> 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.