From: David Howells <dhowells@cambridge.redhat.com>
To: Andrea Arcangeli <andrea@suse.de>
Cc: Bob McElrath <mcelrath+linux@draal.physics.wisc.edu>,
linux-kernel@vger.kernel.org, Peter Rival <frival@zk3.dec.com>,
Linus Torvalds <torvalds@transmeta.com>,
David Howells <dhowells@cambridge.redhat.com>
Subject: Re: generic rwsem [Re: Alpha "process table hang"]
Date: Tue, 17 Apr 2001 17:59:13 +0100 [thread overview]
Message-ID: <10115.987526753@warthog.cambridge.redhat.com> (raw)
In-Reply-To: Your message of "Tue, 17 Apr 2001 17:07:17 +0200." <20010417170717.H2696@athlon.random>
Andrea,
How did you generate the 00_rwsem-generic-1 patch? Against what did you diff?
You seem to have removed all the optimised i386 rwsem stuff... Did it not work
for you?
> (the generic rwsemaphores in those kernels is broken, try to use them in
> other archs or x86 and you will notice) and I cannot reproduce the hang any
> longer.
Can you supply a test case that demonstrates it not working?
> My generic rwsem should be also cleaner and faster than the generic ones in
> 2.4.4pre3 and they can be turned off completly so an architecture can really
> takeover with its own asm implementation.
I quick look says it shouldn't be faster (inline functions and all that).
However, I think you might be right about it being too dependent on the
algorithm I put in, and that is easy to change.
> (while with the 2.4.4pre3 design this is obviously not possible because
> lib/rwsem.c compilation isn't conditional and such file knows the internals
> of the struct rw_semaphore).
Could be very easily changed.
David
next prev parent reply other threads:[~2001-04-17 17:01 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
2001-04-17 15:45 ` Christoph Hellwig
2001-04-17 16:59 ` David Howells [this message]
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=10115.987526753@warthog.cambridge.redhat.com \
--to=dhowells@cambridge.redhat.com \
--cc=andrea@suse.de \
--cc=frival@zk3.dec.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mcelrath+linux@draal.physics.wisc.edu \
--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