public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: stas.orel@mailcity.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch] do proper cleanups before requesting irq
Date: Tue, 12 Jun 2001 16:06:44 +0000	[thread overview]
Message-ID: <20010612160643.B33@toy.ucw.cz> (raw)
In-Reply-To: <01061202405801.06615@localhost.localdomain>
In-Reply-To: <01061202405801.06615@localhost.localdomain>; from stas_orel@yahoo.com on Tue, Jun 12, 2001 at 03:53:57AM +0400

Hi!

> The problem is that there are comparisons of pointers to task_struct when
> deciding if the task is alive. If one task dies and other one starts, it is
> possible (is it?) that the task structure of the newly created task resides
> at the very address where was the dead one's, so comparing pointers is not
> reliable. This patch changes it to comparisons of task's pids.
> Can anyone, please, atleast tell me if this patch is correct?

it might be better but it is not correct. pids are reused, too
-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.


  reply	other threads:[~2001-06-13  9:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-11 23:53 [patch] do proper cleanups before requesting irq Stas Sergeev
2001-06-12 16:06 ` Pavel Machek [this message]
2001-06-13 20:42   ` Stas Sergeev

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=20010612160643.B33@toy.ucw.cz \
    --to=pavel@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stas.orel@mailcity.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