Messages in this thread | | | Date | Thu, 2 Sep 2004 23:26:34 +0200 | From | Andi Kleen <> | Subject | Re: page fault scalability patch final : i386 tested, x86_64 support added |
| |
On Wed, Sep 01, 2004 at 02:13:49PM +1000, Benjamin Herrenschmidt wrote: > On Sat, 2004-08-28 at 15:39, Andrew Morton wrote: > > > atomic64_t already appears to be implemented on alpha, ia64, mips, s390 and > > sparc64. > > > > 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. > > Implementing it on ppc64 is trivial. I'd vote for atomic_long_t though > that is either 32 bits on 32 bits archs or 64 bits on 64 bits arch, as > it would be a real pain (spinlock & all) to get a 64 bits atomic on > ppc32
I would do atomic64 on 64bit archs only and then do a wrapper somewhere that defines atomiclongt based on BITSPERLONG
-Andi
P.S. sorry for the missing underscores, but i am typing this on a japanese keyboard and i just cannot find it.
- 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/
| |