RESOLVED FIXED 181539
Reserve a fast TLS key for GC TLC
https://bugs.webkit.org/show_bug.cgi?id=181539
Summary Reserve a fast TLS key for GC TLC
Filip Pizlo
Reported 2018-01-11 09:37:39 PST
Who knew that thread-local caches would be an essential mitigation for timing attacks. But here's how it works: if we have TLCs then we can "context switch" them when we "context switch" origins. This allows us to put some minimal distance between objects from different origins, which gives us the ability to allow small overflows when doing certain bounds checks without creating a useful Spectre information leak.
Attachments
the patch (1.74 KB, patch)
2018-01-11 09:48 PST, Filip Pizlo
ap: review+
Filip Pizlo
Comment 1 2018-01-11 09:48:31 PST
Created attachment 331061 [details] the patch
Filip Pizlo
Comment 2 2018-01-11 09:59:26 PST
Radar WebKit Bug Importer
Comment 3 2018-01-11 10:00:18 PST
Note You need to log in before you can comment on or make changes to this bug.