3 ms·
VMM. const memory can just be evicted and be swapped back in with zero cost. rw memory must be backed somehow, which us much more expensive. I submitted a patc
by rurban 7y ago
VMM. const memory can just be evicted and be swapped back in with zero cost. rw memory must be backed somehow, which us much more expensive.
I submitted a patch
- AshamedCaptain 7y agoNot true unless you actively modify it (or the page it was in). "RW" mapped memory that is not dirty is also discarded on memory pressure.