Re: Accessing File System from Module

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

 



On Sun, Sep 22, 2002 at 08:04:20AM +0200, yaelgilad wrote:
> > Why would you want to?  Just grab the packets from userspace, and then
> > send them to your driver from userspace.  You can do blocking reads much
> > easier that way, and don't have to worry about internal file handles,
> > and getting the segment registers correct, and other such stuff.
> 
> Wouldn't there be a performance penalty in this case ?

If you are dealing with a 10Gb network, possibly.  But please measure it
first before saying it's a penalty, so you _have_ to do it all within
the kernel.

thanks,

greg k-h
--
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