DragonFly BSD
DragonFly commits List (threaded) for 2004-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/i386/include


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Thu, 9 Dec 2004 00:25:38 +0100

On Wed, Dec 08, 2004 at 03:19:51PM -0800, Joerg Sonnenberger wrote:
> joerg       2004/12/08 15:19:51 PST
> 
> DragonFly src repository
> 
>   Added files:
>     sys/i386/include     gencount.h 
>   Log:
>   Implement generation counters as (at least) 64 bit counters. The increment
>   and get operations are interrupt safe, but not MP-safe.
>   
>   The gencount_inc implementation uses critical sections, which is the best
>   possible for generic IA32 code.

I think I can get the gencount_inc fully atomic for Pentium+, but this needs
some more work first.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]