The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Robert Love <rml@tech9.net>
To: Rajiv Malik <rmalik@noida.hcltech.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: floppy driver multithreaded!!
Date: 06 Nov 2001 02:48:51 -0500	[thread overview]
Message-ID: <1005032932.812.0.camel@phantasy> (raw)
In-Reply-To: <E04CF3F88ACBD5119EFE00508BBB212154F513@exch-01.noida.hcltech.com>
In-Reply-To: <E04CF3F88ACBD5119EFE00508BBB212154F513@exch-01.noida.hcltech.com>

On Tue, 2001-11-06 at 02:31, Rajiv Malik wrote:
> i was looking at the code of Floppy Driver by Linus, i was wondering the way
> it has been coded !! even Linus has accepted that it can be further improved
> a lot. i am thinking of making it more multithreaded, trying to find out the
> details. any help on it would be highly appreciated.

Uhm, it already is multithreaded.  Kind Of.  That is how a monolithic
kernel ends up working -- the exported floppy interface is threaded to
each running process that uses it.  So each user space thread runs the
the kernel code in its context and you get a result of the floppy driver
being multithreaded.

Then you have the backend...the block and VM layers that obviously
aren't all in the context of a user space application.  The system will
scale fine to your one floppy drive and multiple CPUs.

	Robert Love


      reply	other threads:[~2001-11-06  7:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-06  7:31 floppy driver multithreaded!! Rajiv Malik
2001-11-06  7:48 ` Robert Love [this message]

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=1005032932.812.0.camel@phantasy \
    --to=rml@tech9.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmalik@noida.hcltech.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