Re: 2.4.0-test8-pre1 is quite bad / how about integrating Rik's VM now?

From: Linus Torvalds (
Date: Sun Sep 03 2000 - 15:39:24 EST

On Sun, 3 Sep 2000, Rik van Riel wrote:

> On Sun, 3 Sep 2000, Linus Torvalds wrote:
> >
> > What you're saying is that you're ignoring the evidence because you don't
> > like it and you don't understand how it happens.
> >
> > The BUG() was "impossible", so you're discounting it?
> >
> > I can tell you several ways it happens in.
> > - modify the page after free_page(). free_page() won't see bad
> > state, but alloc_page() will.
> __alloc_pages() didn't see it either, but Christian seems
> to have found a possible cause for the bug (as you got by
> private email).

Well, the bug seems to exactly using the page after a "free_page()". Which
is always a bug, but at least should be easy to fix.

I've considered making "free_page()" a macro something like

        x = NULL;

but that works only for lvalues, of course, and not all users are
lvalue-users, so it's hard to do. But that would have caught this.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:16 EST