From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with SMTP id 736456B0082 for ; Tue, 26 Jan 2010 09:52:16 -0500 (EST) Message-ID: <4B5F0179.6070005@redhat.com> Date: Tue, 26 Jan 2010 09:51:37 -0500 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH 02 of 31] compound_lock References: <1037f5f6264364a9e4cc.1264513917@v2.random> In-Reply-To: <1037f5f6264364a9e4cc.1264513917@v2.random> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 , Mel Gorman , 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 01/26/2010 08:51 AM, Andrea Arcangeli wrote: > From: Andrea Arcangeli > > Add a new compound_lock() needed to serialize put_page against > __split_huge_page_refcount(). > > Signed-off-by: Andrea Arcangeli > diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h > --- a/include/linux/page-flags.h > +++ b/include/linux/page-flags.h > @@ -108,6 +108,7 @@ enum pageflags { > #ifdef CONFIG_MEMORY_FAILURE > PG_hwpoison, /* hardware poisoned page. Don't touch */ > #endif > + PG_compound_lock, Maybe this should be under an #ifdef so it does not take up a bit flag on 32 bit systems where it isn't compiled? Other than that, Acked-by: Rik van Riel -- All rights reversed. -- 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