From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with SMTP id A85E36B008C for ; Thu, 28 Jan 2010 17:44:41 -0500 (EST) Date: Thu, 28 Jan 2010 23:43:45 +0100 From: Andrea Arcangeli Subject: Re: [PATCH 25 of 31] transparent hugepage core Message-ID: <20100128224345.GM1217@random.random> References: <20100128175753.GF7139@csn.ul.ie> <20100128223653.GL1217@random.random> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100128223653.GL1217@random.random> Sender: owner-linux-mm@kvack.org To: Mel Gorman Cc: linux-mm@kvack.org, Marcelo Tosatti , Adam Litke , Avi Kivity , Izik Eidus , Hugh Dickins , Nick Piggin , Rik van Riel , Dave Hansen , Benjamin Herrenschmidt , Ingo Molnar , Mike Travis , KAMEZAWA Hiroyuki , Christoph Lameter , Chris Wright , Andrew Morton , bpicco@redhat.com, Christoph Hellwig , KOSAKI Motohiro , Balbir Singh , Arnd Bergmann List-ID: On Thu, Jan 28, 2010 at 11:36:53PM +0100, Andrea Arcangeli wrote: > do { \ > - if (unlikely(pmd_trans_huge(*(__pmd)))) \ > - __split_huge_page_mm(__mm, __addr, __pmd); \ > + pmd_t ____pmd = __pmd; \ > + if (unlikely(pmd_trans_huge(*(____pmd)))) \ > + __split_huge_page_mm(__mm, __addr, ____pmd); \ > } while (0) then parenthesis should be moved from ____pmd to __pmd of course... -- 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