Both slab defrag and the large blocksize patches need to ability to take refcounts on compound pages. May be useful in other places as well. Signed-off-by: Christoph Lameter --- include/linux/mm.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Index: linux-2.6.23-rc8-mm1/include/linux/mm.h =================================================================== --- linux-2.6.23-rc8-mm1.orig/include/linux/mm.h 2007-09-25 14:53:58.000000000 -0700 +++ linux-2.6.23-rc8-mm1/include/linux/mm.h 2007-09-25 14:56:30.000000000 -0700 @@ -227,7 +227,7 @@ static inline int put_page_testzero(stru */ static inline int get_page_unless_zero(struct page *page) { - VM_BUG_ON(PageCompound(page)); + VM_BUG_ON(PageTail(page)); return atomic_inc_not_zero(&page->_count); } -- -- 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: email@kvack.org