]> sourceware.org Git - systemtap.git/commitdiff
runtime: plea with the gods for a lockless stp_print_flush
authorFrank Ch. Eigler <fche@redhat.com>
Tue, 12 Aug 2014 19:57:01 +0000 (15:57 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Tue, 12 Aug 2014 19:57:01 +0000 (15:57 -0400)
runtime/print_flush.c

index 4c6fe921e36972e89755a134209bf3b60bfa0532..a742159e3ad9890c0c9d3130da2b82aebd1fafb7 100644 (file)
@@ -122,6 +122,10 @@ void EXPORT_FN(stp_print_flush)(_stp_pbuf *pb)
                 * in a probe, which is fine.
                 *
                 * (see also _stp_ctl_send for a similar situation)
+                 *
+                 * A better solution would be to replace this
+                 * concurrency-control-laden effort with a lockless
+                 * algorithm.
                 */
                c = _stp_runtime_entryfn_get_context();
 
This page took 0.028786 seconds and 5 git commands to generate.