Emulating cpu page protection in userspace

Mulyadi Santosa mulyadi.santosa at gmail.com
Wed May 15 23:19:23 EDT 2013


On Thu, May 16, 2013 at 5:31 AM, Manish Katiyar <mkatiyar at gmail.com> wrote:
> Any suggestions how vmware or other virtualised environments do this, or is
> this even possible ? Any pointers to the code is appreciated. (Sorry no
> locking/synchronisation solutions pls).

I am not 100% sure, but either virtualization use LDT, or utilize
shadow page in certain ways.

So the idea is, each process/thread has their own "page table
descriptor", therefore each of them has separate protection mapping.

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list