<div dir="ltr">I have my implementation of socket APIs, <div><br></div><div style>I sock_unregister(AF_INET); &amp; sock_register(&amp;inet_family_ops), this replaces kernel resident socket related calls with my socket related calls. My code is loaded as kernel module.</div>
<div style><br></div><div style>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.</div><div style><br></div>
<div style>Any pointer is appreciated.</div></div>