DragonFly kernel List (threaded) for 2008-01
DragonFly BSD
DragonFly kernel List (threaded) for 2008-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

should we use atomic instructions to manipulate vmstats.v_wire_count?


From: "Nicolas Thery" <nthery@xxxxxxxxx>
Date: Sun, 13 Jan 2008 10:44:25 +0100

Hello,

I noticed that vmstats.v_wire_count is incremented and decremented w/o
protection.  In contrast, atomic instructions (from <atomic.h>) are
used in freebsd.

Is it a bug in dfly or is it intentional?

Cheers,
Nicolas



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