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

From: Andrew Morton <[email-masked]>
Date: Thu, 29 Apr 2004 14:28:07 -0700

Marcelo Tosatti <[email-masked]> 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.