Re: How should we do a 64-bit jiffies?
Keith Owens (kaos@ocs.com.au)
Tue, 23 Oct 2001 16:23:04 +1000
On Tue, 23 Oct 2001 02:05:54 -0400,
Brian Gerst <bgerst@didntduck.org> wrote:
>Keith Owens wrote:
>> You will need a spin lock around that on 32 bit systems, but that is
>> true for anything that tries to do 64 bit counter updates on a 32 bit
>> system.
>
>cmpxchg8b does, but it's a bit indirect.
Not on 386, only on 486 and above. Besides, you want to avoid arch
specific asm code.
-
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/