News for hackers. Stuff that matters.
Re:Writing an OS in Rust: Handling Exceptions by Animats on Sunday March 26, 2017 @04:08PM (#13962930)
Moving data from one process to another by messing with the MMU state to move a page from one process to another has been tried. Mach did that. Unless you're moving megabytes of data, on modern CPUs, messing with the MMU state is usually a lose. Caches and translation lookaside buffers have to be flushed, which is worse than copying. Copying is a cheap operation on most modern CPUs, because the data paths are wide and the data you're sending is probably in cache. Also, the data has to be page-aligned for this to work.

There are no comments on this comment yet.