[lkml]   [2004]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: page fault scalability patch final : i386 tested, x86_64 support added
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

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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:05    [W:0.159 / U:4.800 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site