LWN.net Logo

Signed overflow optimization hazards in the kernel

Signed overflow optimization hazards in the kernel

Posted Aug 17, 2012 2:20 UTC (Fri) by PaulMcKenney (subscriber, #9624)
In reply to: Signed overflow optimization hazards in the kernel by PaulMcKenney
Parent article: Signed overflow optimization hazards in the kernel

Though I could make the macros type-generic by (ab)using sizeof(). Not sure it is worth it, though.


(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