Re: Can a module block?

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

 



Hi, I can't see any reason to implement a tcp server-based app as a
kernel module and not as an userland app....

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


-- argaldo --


On Thu, 30 Sep 2004 19:55:28 +0530, Rakesh Jagota
<j.rakesh@xxxxxxxxxxxxx> wrote:
> Hello Patrick,
> 
> I have written my own accept () function in the kernel from sys_accept.
> 
> rakesh
> 
> 
> ----- Original Message -----
> From: "Patrick McManus" <mcmanus@xxxxxxxxxxxx>
> To: "Rakesh Jagota" <j.rakesh@xxxxxxxxxxxxx>
> Cc: <kernelnewbies@xxxxxxxxxxxx>
> Sent: Thursday, September 30, 2004 5:47 PM
> Subject: Re: Can a module block?
> 
> > On Thu, 2004-09-30 at 06:16, Rakesh Jagota wrote:
> > > Hi all,
> > > I have  TCP server program which I want to write it as a  module. My
> > > daubt Can a module block on accept() function in while-loop.
> >
> > the common advice you will get is that this is most likely a very bad
> > idea.
> >
> > in any event, accept() as you know it is not available in kernel space.
> >
> >
> > --
> > Kernelnewbies: Help each other learn about the Linux kernel.
> > Archive:       http://mail.nl.linux.org/kernelnewbies/
> > FAQ:           http://kernelnewbies.org/faq/
> >
> >
> 
> 
> 
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 
> 



-- 
Alberto Rodriguez Galdo
argaldo@xxxxxxxxx
http://www.igaelica.com/argaldonet/

--
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