Re: [RFC] Making compound pages mandatory

From: Nick Piggin
Date: Tue Nov 16 2004 - 22:44:19 EST


Nick Piggin wrote:

-static inline void get_page(struct page *page)
-{
- atomic_inc(&page->_count);
-}
-
+void put_compound_page(struct page *page);
static inline void put_page(struct page *page)
{
+ if (unlikely(PageCompound(page)))
+ put_compound_page(page);
===> return;
===> }
if (!PageReserved(page) && put_page_testzero(page))
__page_cache_release(page);
}

... and that's something close to what it should look like.
Sorry, not having a good day today :\

Ignoring me might be the best option.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/