mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: Bob McElrath <rsmcelrath@students.wisc.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: it isn't aa's rwsem-generic-6 bug but something else [Re: aa's rwsem-generic-6 bug?  Process stuck in 'R' state.]
Date: Thu, 26 Apr 2001 17:45:53 +0200	[thread overview]
Message-ID: <20010426174553.B819@athlon.random> (raw)
In-Reply-To: <20010425223939.A26763@draal.physics.wisc.edu> <20010426061110.A819@athlon.random> <20010426003802.A738@draal.physics.wisc.edu>
In-Reply-To: <20010426003802.A738@draal.physics.wisc.edu>; from rsmcelrath@students.wisc.edu on Thu, Apr 26, 2001 at 12:38:02AM -0500

On Thu, Apr 26, 2001 at 12:38:02AM -0500, Bob McElrath wrote:
> When I posted this bug originally, you came right out and said it was
> probably the rwsemaphores.  I really have no idea how the rwsemaphores

You were talking about the ps table hang when I told you about the rwsem
races. I had the same trouble on my alpha and I reproduced the races
trivially by lanucing:

	make MAKE='make -j2' -j2 &

	while :; do ps xa ; sleep 1 ; done

After a few seconds ps deadlocked. Try that on the old asm semaphores.

It was 100% reproducible, and after I rewrote the rwsemaphores the
deadlock gone away completly.

Your X hanging in R state is completly unrelated to the rwsem ps table
hang problem as far I can tell.

> I'm running a debug X build at this point, and have identified at least

If you can reproduce without starting X I will be interested in fixing
the hang. Maybe you have a graphics card with a fb driver that doesn't
need VESA that maybe works on the alpha, then you could run X without
privilegies. (btw, in theory we could make the VESA thing working as
well using the x86 emulator in SRM but nobody attempted to implement
that yet)

> instead of gcc...then figured what the hell)  The rest were with egcs
> 1.1.2.  I'll use egcs 1.1.2 in the future.

good.

Andrea

  reply	other threads:[~2001-04-26 15:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-26  3:39 aa's rwsem-generic-6 bug? Process stuck in 'R' state Bob McElrath
2001-04-26  4:11 ` it isn't aa's rwsem-generic-6 bug but something else [Re: aa's rwsem-generic-6 bug? Process stuck in 'R' state.] Andrea Arcangeli
2001-04-26  5:38   ` Bob McElrath
2001-04-26 15:45     ` Andrea Arcangeli [this message]
2001-04-26 16:10       ` Bob McElrath

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=20010426174553.B819@athlon.random \
    --to=andrea@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rsmcelrath@students.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

all inboxes | Powered by JetHome®