From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 17 Dec 2004 14:11:59 -0800 (PST) From: Christoph Lameter Subject: Re: [patch] CONFIG_ARCH_HAS_ATOMIC_UNSIGNED In-Reply-To: <20041217193724.GA13542@wotan.suse.de> Message-ID: References: <20041217061150.GF12049@wotan.suse.de> <20041217163308.GE14229@wotan.suse.de> <20041217193724.GA13542@wotan.suse.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Andi Kleen Cc: Dave Hansen , linux-mm@kvack.org List-ID: On Fri, 17 Dec 2004, Andi Kleen wrote: > On Fri, Dec 17, 2004 at 11:26:49AM -0800, Christoph Lameter wrote: > > On Fri, 17 Dec 2004, Andi Kleen wrote: > > > > > > Put the order of the page there for compound pages instead of having that > > > > in index? > > > > > > That would waste memory on the 64bit architectures that cannot tolerate > > > 32bit atomic flags or on true 32bit architecture. > > > > Would be great to have 64 bit atomic support to fill this hole then. > > I think you lost me. How would that help? It would fill the hole on 64 bits if atomic_t would have the native word size. > To fill the hole you would need a 4 byte member with padding to move around, > but there isn't one. You cannot also just add one because it would waste > memory on 32bit archs and other 64bit archs. There is no clean solution here but I just wanted to indicate what I would like to see there if you want to use the space. -- 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: aart@kvack.org