LWN.net Logo

Quote of the week

Quote of the week

Posted Nov 5, 2011 2:05 UTC (Sat) by pflugstad (subscriber, #224)
In reply to: Quote of the week by nix
Parent article: Quote of the week

Frankly, I'd rather have zero comments vs the 150+ lines of inane comments like:

/*
* Purpose
* loop counter
*
*/
int i;

in EVERY function...

And, just to make it clear the state of this code, this user space application has 51,000+ mutexes in it. Two threads. Yes, that is NOT a typo - 51,000.


(Log in to post comments)

Quote of the week

Posted Nov 6, 2011 1:01 UTC (Sun) by valyala (guest, #41196) [Link]

A mutex per hash table bucket?

Quote of the week

Posted Nov 6, 2011 4:16 UTC (Sun) by pflugstad (subscriber, #224) [Link]

More or less, but way more messy.

Pete

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