logoalt Hacker News

Preemption is GC for memory reordering (2019)

43 pointsby mpweiherlast Wednesday at 1:38 PM7 commentsview on HN

Comments

gblarggtoday at 5:11 AM

If I understand this correctly, it basically has the second thread wait until the first one experiences a hardware interrupt, which implicitly synchronizes memory. This avoids the first thread from needing any synchronization primitives that would slow it down.

show 1 reply
Jweb_Gurutoday at 3:59 AM

Oh boy this is a cool blog post. Encourage everyone to read it.

show 1 reply
preetham_rangutoday at 6:16 AM

same trick QSBR uses for lock-free reclamation, just framed at the OS scheduler level instead of userspace

7e22v837278gb1ptoday at 1:48 AM

"GC"?

show 1 reply
winterissnowingtoday at 9:30 AM

[flagged]