Re: Can a module block?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 30 Sep 2004 22:02:15 +0200, Alberto Rodriguez Galdo
<argaldo@xxxxxxxxx> wrote:

> 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. It's also harder to handle sleeping and other
fundamental issues of socket based communications from within the
kernel.

> Can you tell me your reasons? ... if you don't mind, of course ;-)

Can you tell us your reasons for doing this in-kernel?

Jon.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux