From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail172.messagelabs.com (mail172.messagelabs.com [216.82.254.3]) by kanga.kvack.org (Postfix) with SMTP id 43D226B020D for ; Fri, 26 Mar 2010 15:55:43 -0400 (EDT) Date: Fri, 26 Mar 2010 20:54:31 +0100 From: Andrea Arcangeli Subject: Re: [PATCH 37 of 41] add x86 32bit support Message-ID: <20100326195431.GG5825@random.random> References: <2a644b64b34162f323c5.1269622841@v2.random> <20100326175406.GA28898@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100326175406.GA28898@cmpxchg.org> Sender: owner-linux-mm@kvack.org To: Johannes Weiner Cc: linux-mm@kvack.org, Andrew Morton , Marcelo Tosatti , Adam Litke , Avi Kivity , Izik Eidus , Hugh Dickins , Nick Piggin , Rik van Riel , Mel Gorman , Dave Hansen , Benjamin Herrenschmidt , Ingo Molnar , Mike Travis , KAMEZAWA Hiroyuki , Christoph Lameter , Chris Wright , bpicco@redhat.com, KOSAKI Motohiro , Balbir Singh , Arnd Bergmann , "Michael S. Tsirkin" , Peter Zijlstra List-ID: On Fri, Mar 26, 2010 at 06:54:06PM +0100, Johannes Weiner wrote: > Oh, shoot, the cast needs to be renamed to (union split_pmd *) as well. I only verified x86 builds without PAE, I fixed that bit now and verified it gets past it. However it still doesn't build because PG_compound_lock exceeds the 32bit page->flags (with zone and other stuff). I don't immediately see PG_ bits to reuse, but I think PageBuddy can be converted to page->_count = -1. For now the only way to build PAE on x86 with hugepages enabled, it is to set PAT=n. Considering that the only way to disable transparent hugepages is to enable the embedded settings in the config, it isn't such great but again I'm optimistic we can drop PG_buddy. PG_reclaim is very dubious too but as long as we want to retain that functionality of trying to free pages after swapout I/O completion immediately, there's no way to keep functionality removing PG_reclaim. Others are similar... -- 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