lkml.org 
[lkml]   [2001]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: floppy driver multithreaded!!
From
Date
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:12    [W:0.050 / U:5.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site