![]() | |||||||||||||
Messages in this thread |
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 12:12 [from the cache] ©2003-2008 | |||||||||||||