Yes, I don't argue with that. But, saying "this dual locking implementation we're looking at is definitely written by a retard"* is still 99% more about the quality of the implementation than about the person who did it.
*) quote made up
*) quote made up
The entire reason for saying that was to make the commenter look good by making someone else look bad.
Torvalds, ironically, doesn't encourage this sort of thing. Unfortunately, he is also an offender - the "shut the fuck up Mauro" incident comes to mind.
"this dual locking implementation creates a race condition under circumstances X, Y, and Z" would be more accurate and probably more successful in achieving the purported goal of having a working dual locking implementation.
Still direct, but addresses the technical problem without insulting the contributor.