[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1287160439.23682.67.camel@gandalf.stny.rr.com>
Date: Fri, 15 Oct 2010 12:33:59 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Jan Kiszka <jan.kiszka@...mens.com>
Cc: Steven Rostedt <srostedt@...hat.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-trace-users@...r.kernel.org
Subject: Re: [PATCH] trace-cmd: Plug startup race between flush_threads and
recorders
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@...mens.com>
Applied, Thanks!
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists