|
|
Subscribe / Log in / New account

Quote of the week

So you might want to look into not the standard library implementation, but specific locking implementations for your particular needs. Which is admittedly very very annoying indeed. But don't write your own. Find somebody else that wrote one, and spent the decades actually tuning it and making it work.

Because you should never ever think that you're clever enough to write your own locking routines.. Because the likelihood is that you aren't (and by that "you" I very much include myself - we've tweaked all the in-kernel locking over decades, and gone through the simple test-and-set to ticket locks to cacheline-efficient queuing locks, and even people who know what they are doing tend to get it wrong several times).

Linus Torvalds

to post comments

Quote of the week

Posted Jan 13, 2020 18:30 UTC (Mon) by NYKevin (subscriber, #129325) [Link]

It should be noted that elsewhere in that thread, Linus talked about ZFS. Among other things, he called it "more of a buzzword than anything else" and said "it has no real maintenance behind it either any more" (later clarified he was talking about Oracle ZFS, but everyone else in that thread was probably talking about OpenZFS, so I'm not sure why he would bring that up...). Those statements have now been picked up by various tech news sites and are generating controversy in the usual fashion.


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