Anthony Liguori wrote:
>>> What I don't understand, is how we can have something like
>>> mmu_unshadow() called automatically when an mmap() is initiated from
>>> userspace.  We could just add an ioctl() to do it from userspace but
>>> I think it would be nicer if it Just Worked.
>>>   
>>
>> Behold the magic of pte notifiers!  Every time the host touches a
>> host page table entry, it calls kvm which zaps the corresponding
>> shadow pte entries and invalidates any tlb entries in running vcpus.
>
> /me bows down to the greatness of pte notifiers
>
> So yeah, that would solve the problem nicely.  Are you planning on
> resubmitting those patches or did they end up in Linus' tree?

There's a lot of work before pte notifers are linusable.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to 
panic.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to