From: Andrea Arcangeli <andrea@suse.de>
To: Paul Larson <plars@austin.ibm.com>
Cc: Linus Torvalds <torvalds@transmeta.com>,
lkml <linux-kernel@vger.kernel.org>,
lse-tech@lists.sourceforge.net
Subject: Re: [Lse-tech] [PATCH] Linux-2.5 fix for get_pid() hang
Date: Mon, 29 Jul 2002 22:25:35 +0200 [thread overview]
Message-ID: <20020729202535.GZ1201@dualathlon.random> (raw)
In-Reply-To: <1027972670.7699.210.camel@plars.austin.ibm.com>
On Mon, Jul 29, 2002 at 02:57:46PM -0500, Paul Larson wrote:
> This is a fix for the problem where get_pid will hang the machine if you
> request a new pid when all available pids are in use. This also adds
> the appropriate checking for p->tgid in get_pid that was somehow
> overlooked before. This patch has been in 2.4 since 2.4.19-pre9.
no please, this below patch is superior and it fixes as well fixes a
longstanding race condition in fork() (see the semaphore):
http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.19rc3aa3/10_get_pid-no-deadlock-and-boosted-4
it may not apply cleanly but porting should be trivial.
Andrea
next prev parent reply other threads:[~2002-07-29 20:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-29 19:57 Paul Larson
2002-07-29 20:25 ` Andrea Arcangeli [this message]
2002-07-30 15:31 ` [Lse-tech] " Paul Larson
2002-07-30 20:42 ` Paul Larson
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=20020729202535.GZ1201@dualathlon.random \
--to=andrea@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=lse-tech@lists.sourceforge.net \
--cc=plars@austin.ibm.com \
--cc=torvalds@transmeta.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®