From: Quant-X Alpha Linux Support <stefan@sime.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Quant-X Alpha Linux Support <support@Quant-X.com>,
Richard Henderson <rth@twiddle.net>, Alan Cox <alan@redhat.com>,
axp-list@redhat.com
Subject: Re: 2.2.11
Date: Tue, 29 Jun 1999 20:23:49 +0200 [thread overview]
Message-ID: <19990629202349.A13329@stefan.atko.at> (raw)
In-Reply-To: <Pine.LNX.4.10.9906290916140.1940-100000@penguin.transmeta.com>; from Linus Torvalds on Tue, Jun 29, 1999 at 09:19:42AM -0700
Hi !
On Tue, Jun 29, 1999 at 09:19:42AM -0700, Linus Torvalds wrote:
[upgradable read-locks]
> There can only be one writer (whether he's a "reader-upgrader" or a real
> writer) holding the lock at a time.
Yup, IMHO the critical point that there can be many who _want_ to gain
the write lock (waiting) but only one who _wants_ to "upgrade" at the
same time. This makes the thing extremly dangerous.
Even if there is only on "upgrade" code-line it has to be protected
in some way (including previous the read-lock) if the function is
reentrant. Can this be really useful in some way ?
--
ciao -
Stefan Traby
Quant-X Alpha Linux Support
Quant-X Service & Ph: (+43) 4212 90555-0
Consulting Ges.m.b.H. Fax: (+43) 4212 90555-555
http://www.quant-x.com Email: support@quant-x.com
next prev parent reply other threads:[~1999-07-08 21:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <19990628204237.A29511@twiddle.net>
[not found] ` <Pine.LNX.4.10.9906282216350.779-100000@penguin.transmeta.com>
1999-06-29 8:10 ` 2.2.11 Richard Henderson
1999-06-29 11:44 ` 2.2.11 Jeff Garzik
1999-06-29 12:10 ` 2.2.11 Quant-X Alpha Linux Support
1999-06-29 16:29 ` 2.2.11 Richard Henderson
[not found] ` <Pine.LNX.4.10.9906290916140.1940-100000@penguin.transmeta.com>
1999-06-29 18:23 ` Quant-X Alpha Linux Support [this message]
1999-06-29 15:40 ` 2.2.11 Michal Jaegermann
1999-06-29 16:42 ` 2.2.11 Richard Henderson
1999-06-29 18:48 ` 2.2.11 Michal Jaegermann
1999-06-29 12:48 2.2.11 Paul Jakma
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox