Messages in this thread | | | Date | Wed, 17 Nov 2004 14:42:53 +1100 | From | Nick Piggin <> | Subject | Re: [RFC] Making compound pages mandatory |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |