cvs commit: src/sys/i386/include
Joerg Sonnenberger
joerg at britannica.bec.de
Wed Dec 8 15:26:53 PST 2004
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
More information about the Commits
mailing list