module vs main kernel

Abu Rasheda rcpilot2010 at
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...

More information about the Kernelnewbies mailing list