From mboxrd@z Thu Jan 1 00:00:00 1970 From: Herbert Poetzl Date: Mon, 30 Aug 2004 17:02:11 +0000 Subject: Re: page fault scalability patch final : i386 tested, x86_64 support added Message-Id: <20040830170211.GB7718@MAIL.13thfloor.at> List-Id: References: <20040827173641.5cfb79f6.akpm@osdl.org> <20040828010253.GA50329@muc.de> <20040827183940.33b38bc2.akpm@osdl.org> <16687.59671.869708.795999@cargo.ozlabs.ibm.com> <20040827204241.25da512b.akpm@osdl.org> <20040827223954.7d021aac.akpm@osdl.org> <20040827230637.6b3eb2ac.akpm@osdl.org> In-Reply-To: <20040827230637.6b3eb2ac.akpm@osdl.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andrew Morton Cc: Christoph Lameter , paulus@samba.org, ak@muc.de, davem@davemloft.net, ak@suse.de, wli@holomorphy.com, davem@redhat.com, raybry@sgi.com, benh@kernel.crashing.org, manfred@colorfullife.com, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, vrajesh@umich.edu, hugh@veritas.com On Fri, Aug 27, 2004 at 11:06:37PM -0700, Andrew Morton wrote: > Christoph Lameter wrote: > > > > > As I said - for both these applications we need a new type which is > > > atomic64_t on 64-bit and atomic_t on 32-bit. > > > > That is simply a new definition in include/asm-*/atomic.h > > > > so > > > > #define atomic_long atomic64_t > > > > on 64 bit > > > > and > > > > #define atomic_long atomic_t > > > > on 32bit? > > No, a whole host of wrappers are needed - atomic_long_inc/dec/set/read, > etc. For page->_count we'll also need the fancier functions such as > atomic_long_add_return(). hmm, please correct me, but last time I checked atomic_add_return() wasn't even available for i386 for example ... best, Herbert > As I said: let's address this later on. It's probably not an issue for RSS > until 4-level pagetables come along. > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/