mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arun Sharma <arun.sharma@google.com>
To: linux-kernel@vger.kernel.org, roland@redhat.com, akpm@osdl.org
Subject: Re: [PATCH] POSIX timers SMP race condition
Date: Fri, 23 Sep 2005 17:11:14 -0700	[thread overview]
Message-ID: <20050924001114.GA16682@sharma-home.net> (raw)
In-Reply-To: <20050923225444.GB13502@sharma-home.net>

On Fri, Sep 23, 2005 at 03:54:44PM -0700, Arun Sharma wrote:
> -			if (!unlikely(t->exit_state)) {
> +			if (!unlikely(t->flags & PF_EXITING)) {

I just had this problem happen again, after the patch. It looks like we
need to cover other unguarded assignments to tsk->it_prof_expires,
which could possibly race with do_exit().

Or just check for PF_EXITING in run_posix_cpu_timers() and return.

	-Arun

  reply	other threads:[~2005-09-24  0:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-23 22:54 Arun Sharma
2005-09-24  0:11 ` Arun Sharma [this message]
2005-09-28 21:35   ` Arun Sharma

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=20050924001114.GA16682@sharma-home.net \
    --to=arun.sharma@google.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roland@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®