> I've considered making "free_page()" a macro something like
>
> __free_pge(x);
> 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.
Not that hard. (barf buckets at the ready)
*((unsigned long *)(&x)) = NULL;
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
- Re: 2.4.0-test8-pre1 is quite bad / how about integrating... Alexander Viro
- Re: 2.4.0-test8-pre1 is quite bad / how about integrating... Chris Mason
- Re: 2.4.0-test8-pre1 is quite bad / how about integrating... bert hubert
- Re: 2.4.0-test8-pre1 is quite bad / how about integrating... Rik van Riel
- Re: 2.4.0-test8-pre1 is quite bad / how about integrating... Alexander Viro
- Re: 2.4.0-test8-pre1 is quite bad / how about integrating... Linus Torvalds
- Re: 2.4.0-test8-pre1 is quite bad / how about integrating... Rik van Riel
- Re: 2.4.0-test8-pre1 is quite bad / how about integrating... Linus Torvalds
- Re: 2.4.0-test8-pre1 is quite bad / how about integrating... Rik van Riel
- Re: 2.4.0-test8-pre1 is quite bad / how about integrating... Linus Torvalds
- Re: 2.4.0-test8-pre1 is quite bad / how about integrating... Alan Cox
- Re: 2.4.0-test8-pre1 is quite bad / how about integrating... Alexander Viro
- Re: 2.4.0-test8-pre1 is quite bad / how about integrating... Jamie Lokier
- Re: 2.4.0-test8-pre1 is quite bad / how about integrating... Alexander Viro
- Re: 2.4.0-test8-pre1 is quite bad / how about integrating... Arjan van de Ven
- Re: 2.4.0-test8-pre1 is quite bad / how about integrating... Daniel Phillips

