Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
amelius
on Jan 3, 2017
|
parent
|
context
|
favorite
| on:
Why isn't memset() async-signal-safe?
The CPU designers could have protected against this by randomly fluctuating the size of the xsave'd data.
monocasa
on Jan 4, 2017
[–]
At the cost of extra bandwidth and interrupt latency.
amelius
on Jan 4, 2017
|
parent
[–]
Yes, but only marginally if they changed the size only 1 out of 1000 times.
spdionis
on Jan 4, 2017
|
root
|
parent
[–]
Adding complexity (that could result in bugs) in the hope to prevent bugs by bad usage of the interface is usually a bad idea.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: