public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ryan Cumming <bodnar42@phalynx.dhs.org>
To: Torrey Hoffman <torrey.hoffman@myrio.com>,
	"David C. Hansen" <haveblue@us.ibm.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC] Change locking in block_dev.c:do_open()
Date: Wed, 12 Dec 2001 18:49:20 -0800	[thread overview]
Message-ID: <E16ELw0-0003Ch-00@phalynx> (raw)
In-Reply-To: <D52B19A7284D32459CF20D579C4B0C0211CB01@mail0.myrio.com>
In-Reply-To: <D52B19A7284D32459CF20D579C4B0C0211CB01@mail0.myrio.com>

On December 12, 2001 18:40, Torrey Hoffman wrote:
> Ryan Cumming wrote:
> > Why not use a read-write semaphore? The sections that require
> > the module to
> > stay resident use a read lock, and module unloading aquires a
> > write lock. In
> > addition to containing the evil, evil BKL, you might actually
> > get a tangiable
> > scalability gain out of it.

<random sassing snipped>

> With some improvements in this area, massively parallel SMP systems
> could parallelize module loading, and achieve thousands of module
> load/unload operations per second (MLUOPS).

Ha, yes, I can imagine how what I said seemed rather amusing. In case it 
wasn't clear, I mean we should use a read write semaphore to prevent things 
that require the module to be loaded from being -serialized against each 
other-. So, think being able to parellelize the actual -usage- of the 
module's functions. Module unloads would still be serialized, unfortunately ;)

-Ryan

  reply	other threads:[~2001-12-13  2:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-13  2:40 [RFC] Change locking in block_dev.c:do_open() Torrey Hoffman
2001-12-13  2:49 ` Ryan Cumming [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-12-13  0:39 David C. Hansen
2001-12-13  1:01 ` Ryan Cumming
2001-12-13  2:33   ` David C. Hansen
2001-12-13  2:16 ` Alexander Viro
2001-12-13 15:42   ` Roman Zippel
2001-12-13 17:24   ` Richard Gooch
2001-12-13 17:47     ` Alexander Viro
2001-12-13 18:26       ` Richard Gooch
     [not found]         ` <Pine.GSO.4.21.0112140318290.22724-100000@weyl.math.psu.edu>
2001-12-14 17:07           ` Richard Gooch

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=E16ELw0-0003Ch-00@phalynx \
    --to=bodnar42@phalynx.dhs.org \
    --cc=haveblue@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torrey.hoffman@myrio.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