public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: Bob McElrath <mcelrath+linux@draal.physics.wisc.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: generic rwsem [Re: Alpha "process table hang"]
Date: Tue, 24 Apr 2001 01:40:05 +0200	[thread overview]
Message-ID: <20010424014005.V19938@athlon.random> (raw)
In-Reply-To: <20010411125731.B6472@draal.physics.wisc.edu> <E14nOzo-0007Ew-00@the-village.bc.nu> <20010413084805.B3118@draal.physics.wisc.edu> <20010417170717.H2696@athlon.random> <20010417102840.B21824@draal.physics.wisc.edu> <20010419112117.E22687@draal.physics.wisc.edu> <20010419191706.D752@athlon.random> <20010423182722.B942@draal.physics.wisc.edu>
In-Reply-To: <20010423182722.B942@draal.physics.wisc.edu>; from mcelrath+linux@draal.physics.wisc.edu on Mon, Apr 23, 2001 at 06:27:23PM -0500

On Mon, Apr 23, 2001 at 06:27:23PM -0500, Bob McElrath wrote:
> Well, take that back, I just got it to hang.  Again, this is 2.4.4pre3
> with alpha-numa-3 and rwsem-generic-4.  I saw it upon starting mozilla.
> I also saw some scary filesystem errors that may or may not be related:
>     Apr 23 18:09:40 draal kernel: EXT2-fs error (device sd(8,2)): 
>         ext2_new_block: Free blocks count corrupted for block group 252 

That is probably unrelated to the ps hang. I suspect you are been bitten by the
ext2 metadata corruption (2.4.4pre2 was just fixed but previous kernel wasn't).

> rwsem-generic-6 is the latest from Andrea, I'll build a new 2.4.4pre4
> kernel with these patches and let you know the results.  Have you made

Yes, that's safe.

> changes between rwsem-generic-4 and rwsem-generic-6 that would
> fix/prevent a deadlock?

No, but I think they are two separate issues.

> Let me know if there are any useful tests I could perform.  Would it be
> useful for me to run the rwsem benchmarks you've been using?  Could
> these detect a deadlock situation?

yes to be sure you can run it without my patch and see if it hangs (I never
tried that myself, but I was able to reproduce the ps hang quite easily and it
was quite obviously due the rwsemaphores and it gone away completly after I
used the generic semaphores).

Andrea

  reply	other threads:[~2001-04-23 23:40 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-11 15:40 Alpha "process table hang" Bob McElrath
2001-04-11 16:44 ` Peter Rival
2001-04-11 17:00   ` Bob McElrath
2001-04-11 17:18     ` Peter Rival
2001-04-11 17:57       ` Bob McElrath
     [not found]         ` <E14nOzo-0007Ew-00@the-village.bc.nu>
2001-04-13 13:48           ` Bob McElrath
2001-04-17 15:07             ` generic rwsem [Re: Alpha "process table hang"] Andrea Arcangeli
2001-04-17 15:28               ` Bob McElrath
2001-04-19 16:21                 ` Bob McElrath
2001-04-19 17:17                   ` Andrea Arcangeli
2001-04-23 23:27                     ` Bob McElrath
2001-04-23 23:40                       ` Andrea Arcangeli [this message]
2001-04-17 15:45               ` Christoph Hellwig
2001-04-17 16:59               ` David Howells
2001-04-17 17:55                 ` Andrea Arcangeli
     [not found] ` <200104111642.f3BGg6930131@kanga.hofr.at>
2001-04-11 18:49   ` Alpha "process table hang" Bob McElrath
  -- strict thread matches above, loose matches on Subject: below --
2001-04-17 19:18 generic rwsem [Re: Alpha "process table hang"] D.W.Howells
2001-04-17 20:49 ` Andrea Arcangeli
2001-04-17 21:29   ` Christoph Hellwig
2001-04-17 22:06     ` Andrea Arcangeli
2001-04-17 21:48 D.W.Howells
2001-04-17 23:06 ` Andrea Arcangeli
2001-04-17 23:54 D.W.Howells
2001-04-18 20:49 ` Andrea Arcangeli

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=20010424014005.V19938@athlon.random \
    --to=andrea@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcelrath+linux@draal.physics.wisc.edu \
    /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