From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 17 Dec 2004 17:33:08 +0100 From: Andi Kleen Subject: Re: [patch] CONFIG_ARCH_HAS_ATOMIC_UNSIGNED Message-ID: <20041217163308.GE14229@wotan.suse.de> References: <20041217061150.GF12049@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: Andi Kleen , Dave Hansen , linux-mm@kvack.org List-ID: On Fri, Dec 17, 2004 at 08:27:58AM -0800, Christoph Lameter wrote: > > On Fri, 17 Dec 2004, Andi Kleen wrote: > > > struct page { > > page_flags_t flags; /* Atomic flags, some possibly > > * updated asynchronously */ > > > > <------------ what to do with the 4 byte padding here? > > > > 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. Also what's the problem of having it in index? -Andi -- 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