[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can a module block?
> Hi, I can't see any reason to implement a tcp server-based app as a
> kernel module and not as an userland app....
>>It's a bad idea.
>>You can do this but unless you have some critically important latency
>>reason to do this inside the kernel then it's just not worth
>>considering - kernel code is harder to tweak, harder to debug and runs
>>without a safety net
Yeah absolutely. A TCP server implementation makes no sense as a kernel module, whatever advantage that you gain by such a implementation could very easily nullified by a bad carrier and the TCP overhead
is makes things worse.
-raghav-
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/