Hacker News new | ask | show | jobs
by monocasa 2300 days ago
eBPF right now issues fence instructions before computed address loads, in order to manually shutdown speculative instructions. They also do a cute trick to compute the address with a mask so that if a speculative access does happen, the speculatively computed offset is still in the valid range.
1 comments

That's a very good point, and thank you for correcting me.