This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/2056] Cannot iterate pmaps
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 21 Dec 2005 20:45:31 -0000
- Subject: [Bug translator/2056] Cannot iterate pmaps
- References: <20051214214948.2056.hunt@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From fche at redhat dot com 2005-12-21 20:45 -------
Thanks for the patch, please commit at will. Too bad this didn't show up with a
buildok test.
There are a number of trivial little bugs in the system like this one, left
there partly to encourage systemtap newbies to get involved, and partly because
I just never got to them. :-)
Regarding the pmap deadlock, one possible fix is to have foreach() iterating
over a pmap hold an exclusive lock around the whole loop, and the @extraction
operators to hold none, when they're nested within foreach(). In fact, ordinary
array reads enclosed within foreach() don't need to be locked either. Let's
transmute this bugzilla entry to track this bug.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2056
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.