1 Mar 2009 01:55
[Bug translator/6932] c->busy can be non-atomic.
jistone at redhat dot com <sourceware-bugzilla <at> sourceware.org>
2009-03-01 00:55:35 GMT
2009-03-01 00:55:35 GMT
------- Additional Comments From jistone at redhat dot com 2009-03-01 00:55 ------- (In reply to comment #14) > If we can't find any measurement that show a meaningful improvement > due to this patch, I'd rather not take the risk that we're forgetting > some barrier or other, and leave the code as is. I don't think that atomic operations will guarantee memory order either, so we're probably already missing barriers... -- -- 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.
I've gotten around
this by simply pasting the access_process_vm code into runtime/itrace.c and renaming it to avoid a clash
when using on Fedora/x86_64 (where this kernel function *is* exported). The attached patch shows this
change. Is this an acceptable way to handle this problem? Or does someone have a better idea?
Thanks.
-Maynard
RSS Feed