module vs main kernel

Abu Rasheda rcpilot2010 at gmail.com
Mon Dec 2 20:33:09 EST 2013


I have my implementation of socket APIs,

I sock_unregister(AF_INET); & sock_register(&inet_family_ops), this
replaces kernel resident socket related calls with my socket related calls.
My code is loaded as kernel module.

My question, is Linux kernel able to call its own socket call more
efficiently (less overhead, fewer CPU cycles) than mine ? code is running
on Intel x86_64 arch.

Any pointer is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131202/4584a0ca/attachment.html 


More information about the Kernelnewbies mailing list