LWN.net Logo

The source of the e1000e corruption bug

The source of the e1000e corruption bug

Posted Oct 24, 2008 12:42 UTC (Fri) by nevets (subscriber, #11875)
In reply to: The source of the e1000e corruption bug by NAR
Parent article: The source of the e1000e corruption bug

Our first version was not to replace the calls by nops, but by jmps (jmp three bytes forward, two bytes for the jmp call, three nops to skip). This itself showed a 1 or 2% overhead. Not much, but enough to make it not acceptable.

Now adding a branch to the equation will definitely bring the overhead up. Remember, this is called at every function call inside the kernel.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds