DragonFly commits List (threaded) for 2004-12
Re: cvs commit: src/sys/i386/include
:> sys/i386/include gencount.h
:> 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.
What's this for ? Generally speaking I don't think we want to abstract
this. Atomicy requirements for generation counters is going to be highly
dependant on the situation, all these functions will do is confuse