mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Roland McGrath <roland@redhat.com>
To: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Austin Clements <amdragon+kernelbugzilla@mit.edu>,
	Ingo Molnar <mingo@elte.hu>, john stultz <johnstul@us.ibm.com>,
	Michael Kerrisk <mtk.manpages@googlemail.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	linux-kernel@vger.kernel.org
Subject: Re: [RFC,PATCH 2/2] posix timers: don't discard the signal if the timer was explicitly destroyed
Date: Tue, 22 Apr 2008 12:08:49 -0700 (PDT)	[thread overview]
Message-ID: <20080422190849.6443E270381@magilla.localdomain> (raw)
In-Reply-To: Oleg Nesterov's message of  Tuesday, 22 April 2008 19:38:21 +0400 <20080422153821.GA19903@tv-sign.ru>

> I am not sure this patch is really needed, please review.

I don't think this is worth doing.

> The previous patch adds the user-visible change. It is not clear to me why
> should we cancel the pending signal sent by the timer after timer_delete().
> Suppose the signal is blocked, pending, the user checks sys_rt_sigpending(),
> destroys the timer and then doesn't see the signal.

So?  POSIX says it's unspecified what happens to such a signal, so an
application can't rely on it one way or the other.  I don't see any reason
to complicate it further.


Thanks,
Roland

  reply	other threads:[~2008-04-22 19:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-22 15:38 Oleg Nesterov
2008-04-22 19:08 ` Roland McGrath [this message]
2008-04-22 18:48   ` Oleg Nesterov

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=20080422190849.6443E270381@magilla.localdomain \
    --to=roland@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=amdragon+kernelbugzilla@mit.edu \
    --cc=johnstul@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=mtk.manpages@googlemail.com \
    --cc=oleg@tv-sign.ru \
    --cc=tglx@linutronix.de \
    /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®