public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [patch 2.6.10-rc3] Add TIF_SIGDELAYED processing
Date: Fri, 10 Dec 2004 01:21:45 +0000	[thread overview]
Message-ID: <5284.1102641705@kao2.melbourne.sgi.com> (raw)
In-Reply-To: <15449.1102482344@kao1.melbourne.sgi.com>

On Thu, 9 Dec 2004 15:08:35 -0800, 
David Mosberger <davidm@napali.hpl.hp.com> wrote:
>Can't you stash away a reference to the task-structure and bump the
>reference count?   I suspect that might get you into trouble when a
>task exits with first unmapping all MMIO-memory, but that's might not
>be so hard to deal with (when task exits, check whether it has any
>MMIO mappings and if so, kill those, or at least the associated
>registrations first).

Too sensitive to changes in task scheduling and exit code, plus it
requires extra code in the fast path for task exit.  Saving the pid and
the task's start timestamp uses stable data that can be obtained
without any locks.  Apart from exposing the current idle task, my patch
is isolated to ia64 and requires no extra code on any fast path.


      parent reply	other threads:[~2004-12-10  1:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-08  5:05 [patch 2.6.10-rc3] Add TIF_SIGDELAYED processing Keith Owens
2004-12-08 17:11 ` Luck, Tony
2004-12-09  1:10 ` Keith Owens
2004-12-09  1:22 ` David Mosberger
2004-12-09  1:41 ` Keith Owens
2004-12-09 23:08 ` David Mosberger
2004-12-09 23:19 ` Luck, Tony
2004-12-09 23:22 ` David Mosberger
2004-12-10  0:28 ` Jesse Barnes
2004-12-10  1:21 ` Keith Owens [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=5284.1102641705@kao2.melbourne.sgi.com \
    --to=kaos@sgi.com \
    --cc=linux-ia64@vger.kernel.org \
    /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