This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/6932] c->busy can be non-atomic.
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 3 Mar 2009 20:13:30 -0000
- Subject: [Bug translator/6932] c->busy can be non-atomic.
- References: <20081001203800.6932.mhiramat@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jistone at redhat dot com 2009-03-03 20:13 -------
(In reply to comment #18)
> The atomic_dec()s may still be an issue though, which we could fix either by
> making them atomic_dec_return(), or inserting an smp_mb__before_atomic_dec().
Hmm, actually I guess there aren't any context writes in the probe exit-path
that would be hurt by the decrements being reordered and an interrupt jumping
in. So maybe this is ok as-is.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6932
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.