Hacker News new | ask | show | jobs
by adwn 4203 days ago
The Mill [1] does/will do that: When memory is allocated, it is served directly be the cache, which implicitly zeroes the respective cache line (without involving the main memory).

A similar mechanism zeroes a stackframe upon a function call (and function return, I think), which eliminates most attacks that exploit buffer-overflows.

[1] http://millcomputing.com/docs/memory/

1 comments

So a Mill CPU can never do shared-memory process parallelization? Two or more processes accessing the same memory could be a hazard. Seems like it would suffer the same issue IA-64 has with parallelism. However, the conveyor belt analogy simplifies register spilling & related issues.
> So a Mill CPU can never do shared-memory process parallelization?

Why not? The caches will still be coherent.

Only if you are crazy enough to share stacks in which case you deserve what you get.