On Tue, 9 Aug 2005, Benjamin Herrenschmidt wrote:
quoted
But you don't mind if they are refcounted, do you?
Just so long as they start out from 1 so never get freed.
Well, a refcounting bug would let them be freed and kaboom ... That's
why a "PG_not_your_ram_dammit" bit would be useful. It could at least
BUG_ON when refcount reaches 0 :)
Okay, great, let's give every struct page two refcounts,
so if one of them goes wrong, the other one will save us.
Hugh
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>