[HN Gopher] A debugger barrier
___________________________________________________________________
A debugger barrier
Author : luu
Score : 23 points
Date : 2023-03-23 03:38 UTC (19 hours ago)
(HTM) web link (msinilo.pl)
(TXT) w3m dump (msinilo.pl)
| amenghra wrote:
| Memory Reordering Caught in the Act covers this topic and is very
| well written: https://preshing.com/20120515/memory-reordering-
| caught-in-th...
| anyfoo wrote:
| I kind of knew where this was going in terms of the actual bug,
| but the way they've "proven" their fix is indeed pretty neat. I
| would have thoroughly explained the bug and fix, but in order to
| actually verify I honestly most probably would have just done
| what they suggested (and rejected) first: Run it long enough to
| show that the issue does not occur anymore.
|
| As an aside, I have not stared at the problem long enough to say
| this with full confidence, but if the barriers they inserted are
| full barriers, they might be _too_ strong. acquire /release might
| have been sufficient.
___________________________________________________________________
(page generated 2023-03-23 23:00 UTC)