From: Steven Rostedt <rostedt@goodmis.org>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Steven Rostedt <srostedt@redhat.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-trace-users@vger.kernel.org
Subject: Re: [PATCH] trace-cmd: Plug startup race between flush_threads and recorders
Date: Fri, 15 Oct 2010 12:33:59 -0400 [thread overview]
Message-ID: <1287160439.23682.67.camel@gandalf.stny.rr.com> (raw)
In-Reply-To: <4CB8401B.2020801@siemens.com>
On Fri, 2010-10-15 at 13:50 +0200, Jan Kiszka wrote:
> As the SIGUSR1 handler is so far registered after forking the recorder
> child, there is a small race window where a flush sent by the main
> process can actually kill the child. Plug this by registering the signal
> handlers before the fork. This also allows to unify SIGINT registration.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Applied, Thanks!
-- Steve
prev parent reply other threads:[~2010-10-15 16:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-15 11:50 Jan Kiszka
2010-10-15 16:33 ` Steven Rostedt [this message]
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=1287160439.23682.67.camel@gandalf.stny.rr.com \
--to=rostedt@goodmis.org \
--cc=jan.kiszka@siemens.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-users@vger.kernel.org \
--cc=srostedt@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
all inboxes | Powered by JetHome®