Re: page fault scalability patch final : i386 tested, x86_64 support added

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: 2004-08-31 03:02:11
On Fri, Aug 27, 2004 at 11:06:37PM -0700, Andrew Morton wrote:
> Christoph Lameter <clameter@sgi.com> 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/
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Aug 30 13:02:39 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:30 EST