public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "hunt at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sources.redhat.com
Subject: [Bug translator/2293] confirm preemption/interrupt blocking in systemtap probes
Date: Wed, 29 Mar 2006 07:06:00 -0000	[thread overview]
Message-ID: <20060329070603.21710.qmail@sourceware.org> (raw)
In-Reply-To: <20060207171449.2293.fche@redhat.com>


------- Additional Comments From hunt at redhat dot com  2006-03-29 07:06 -------
Still trying to figure out the transport problem. It appears to not be solvable;
if you disable interrupts, stpd will not be processing any output and output
from "probe end" will get truncated if the user tries to write too much.

However, simply removing the local_irq_save() for "probe begin" and "probe end"
would still leave us vulnerable to the possibility of preemption causing the cpu
to change during the probe execution. One possibility would be to replace all
smp_processor_id() calls with _stp_processor_id() which would do

if (STAP_SESSION_STARTING or STAP_SESSION_STOPPING)
    return 0
else
    return smp_processor_id()




-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


http://sourceware.org/bugzilla/show_bug.cgi?id=2293

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

  parent reply	other threads:[~2006-03-29  7:06 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-07 17:14 [Bug translator/2293] New: " fche at redhat dot com
2006-02-22 15:06 ` [Bug translator/2293] " fche at redhat dot com
2006-02-22 20:07 ` hunt at redhat dot com
2006-02-23 20:42 ` fche at redhat dot com
2006-02-27 17:32 ` hunt at redhat dot com
2006-02-27 18:56   ` disabled interrupts (Was bug #2293 Frank Ch. Eigler
2006-02-27 19:16     ` Martin Hunt
2006-02-27 20:01       ` Frank Ch. Eigler
2006-02-27 21:10         ` Martin Hunt
2006-03-29  7:06 ` hunt at redhat dot com [this message]
2006-03-29 11:55 ` [Bug translator/2293] confirm preemption/interrupt blocking in systemtap probes fche at redhat dot com
2006-03-29 18:05   ` Martin Hunt
2006-03-29 20:18     ` Frank Ch. Eigler
2006-05-05 16:09     ` Vara Prasad
2006-03-29 18:05 ` hunt at redhat dot com
2006-05-01 14:20 ` fche at redhat dot com
2006-05-05 16:10 ` prasadav at us dot ibm dot com
     [not found] ` <20060505160951.1801.qmail@sourceware.org>
2006-05-05 16:38   ` Frank Ch. Eigler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060329070603.21710.qmail@sourceware.org \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).