On Thu, Jun 28, 2007 at 02:52:05PM +0200, Dietmar Hahn wrote:
Hi,
attached to this mail are 2 patches:
- opt_feature_xen.patch
implements the new hypercall __HYPERVISOR_opt_feature in the hypervisor.
- opt_feature_linux.patch
implements the usage of the hypercall.
I think the hypercall interface is a little bit overkill but who knows about
the future?
The xen - patch has real effects in vcpu_translate() on inserting identity
mappings in the vhpt/tlb. I'am not sure about some performance impacts.
But without such a patch correct future protection key handling is impossible.
I don't understand why. Isn't PK 0 supposed to be always enabled ?
(But I think it should be possible to disable the auto id mapping insertion).
Tristan.