Hacker News new | ask | show | jobs
by sdegutis 3366 days ago
The memory mapping model is really interesting, since it moves a lot of that out of the kernel and into user-space, but it seems like it has more disadvantages than advantages. What am I missing?
2 comments

Are you asking about VMOs or VMARs?

In general: it gives a process a huge amount of flexibility in terms of how it sets up its own address space, communicates with other processes, and in how it can communicate with the kernel.

Big advantage is better security.
And it can be a lot faster. Jumping in and out of the kernel is slow, shared memory is relatively fast.