Thread (2 messages) 2 messages, 2 authors, 2013-12-03

module vs main kernel

From: Abu Rasheda <hidden>
Date: 2013-12-03 01:33:09

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 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help