From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail138.messagelabs.com (mail138.messagelabs.com [216.82.249.35]) by kanga.kvack.org (Postfix) with ESMTP id 341766B00A4 for ; Tue, 26 Jan 2010 14:24:18 -0500 (EST) Date: Tue, 26 Jan 2010 19:24:02 +0000 From: Mel Gorman Subject: Re: [PATCH 11 of 31] comment reminder in destroy_compound_page Message-ID: <20100126192402.GP16468@csn.ul.ie> References: <3d8c3e636b1250af8f51.1264513926@v2.random> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <3d8c3e636b1250af8f51.1264513926@v2.random> Sender: owner-linux-mm@kvack.org To: Andrea Arcangeli Cc: linux-mm@kvack.org, Marcelo Tosatti , Adam Litke , Avi Kivity , Izik Eidus , Hugh Dickins , Nick Piggin , Rik van Riel , Andi Kleen , Dave Hansen , Benjamin Herrenschmidt , Ingo Molnar , Mike Travis , KAMEZAWA Hiroyuki , Christoph Lameter , Chris Wright , Andrew Morton , bpicco@redhat.com, Christoph Hellwig , KOSAKI Motohiro List-ID: On Tue, Jan 26, 2010 at 02:52:06PM +0100, Andrea Arcangeli wrote: > From: Andrea Arcangeli > > Warn destroy_compound_page that __split_huge_page_refcount is heavily dependent > on its internal behavior. > Acked-by: Mel Gorman > Signed-off-by: Andrea Arcangeli > --- > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -311,6 +311,7 @@ void prep_compound_page(struct page *pag > } > } > > +/* update __split_huge_page_refcount if you change this function */ > static int destroy_compound_page(struct page *page, unsigned long order) > { > int i; > -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- 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