> Well, you also have to check that the page isn't on the LRU list, so it
> would have to be something like
>
> !page->mapping && !PageLRU(page)
>
> which I agree is ugly.
I guess we should have "clean up VM locking" in our TODO
list for 2.5, then. The current combination of 2.0, 2.2
and 2.4 locking makes for rather hard to maintain code ;)
regards,
Rik
-- Shortwave goes a long way: irc.starchat.net #swlhttp://www.surriel.com/ http://distro.conectiva.com/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/