|
|
Subscribe / Log in / New account

Heuristics for software-interrupt processing

Heuristics for software-interrupt processing

Posted Mar 13, 2023 20:46 UTC (Mon) by iustin (subscriber, #102433)
Parent article: Heuristics for software-interrupt processing

Thanks, good summary! Interesting how the appeal of a big global lock always exists....


to post comments

Heuristics for software-interrupt processing

Posted Mar 14, 2023 0:47 UTC (Tue) by mathstuf (subscriber, #69389) [Link]

The allure of "never have to think about data races in your code" is quite a siren song…

Heuristics for software-interrupt processing

Posted Mar 14, 2023 10:21 UTC (Tue) by farnz (subscriber, #17727) [Link]

Fundamentally, humans aren't good about thinking in terms of concurrent modifications - our brains like "first this, then that, then either this or that" sequences, and not "this and this and this in unknown order, then that and that in unknown order". A big global lock is a great way to ensure that there are no concurrent modifications; even better if it's implicit and thus compile-time, rather than something you have to remember to lock before you do your work.


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