netdev
[Top] [All Lists]

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

To: Marcelo Tosatti <marcelo.tosatti@xxxxxxxxxxxx>
Subject: Re: kernel BUG at page_alloc.c:98 -- compiling with distcc
From: Andrew Morton <akpm@xxxxxxxx>
Date: Thu, 29 Apr 2004 14:28:07 -0700
Cc: jmoyer@xxxxxxxxxx, carson@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, andrea@xxxxxxx, davem@xxxxxxxxxx
In-reply-to: <20040429210951.GB20453@xxxxxxxxxx>
References: <382320000.1082759593@xxxxxxxxxxxxxxxxxxxxx> <16527.4259.174536.629347@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20040429210951.GB20453@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
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.


<Prev in Thread] Current Thread [Next in Thread>