From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 12397 invoked from network); 8 Jul 1999 21:54:13 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 8 Jul 1999 21:54:13 -0000 Received: from arctica.sime.com (root@arctica.sime.com [193.228.80.12]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA27360; Tue, 29 Jun 1999 14:28:00 -0400 Received: from sime.com (IDENT:root@stefan.sime.com [194.112.213.115]) by arctica.sime.com (8.9.1/8.9.1) with ESMTP id UAA24322; Tue, 29 Jun 1999 20:27:53 +0200 Received: (from stefan@localhost) by sime.com (8.9.3/8.9.3) id UAA13399; Tue, 29 Jun 1999 20:23:49 +0200 Date: Tue, 29 Jun 1999 20:23:49 +0200 From: Quant-X Alpha Linux Support To: Linus Torvalds Cc: Quant-X Alpha Linux Support , Richard Henderson , Alan Cox , axp-list@redhat.com Subject: Re: 2.2.11 Message-ID: <19990629202349.A13329@stefan.atko.at> Reply-To: Quant-X Alpha Linux Support References: <19990629141016.A9364@stefan.atko.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us In-Reply-To: ; from Linus Torvalds on Tue, Jun 29, 1999 at 09:19:42AM -0700 Organization: Quant-X Service & Consulting Ges.m.b.H. X-Operating-System: Linux 2.2.10-stefan (i686) X-APM: 100% 400 min 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