Re: [PATCH][REPOST] KVM: VMX: Always return 0 for clear_flush_young() when using EPT

2008-09-11 Thread Avi Kivity
Yang, Sheng wrote: > How about this one? > > Subject: [PATCH] KVM: VMX: Always return old for clear_flush_young() when > using EPT > > As well as discard fake accessed bit and dirty bit of EPT. > > Applied, thanks. -- Do not meddle in the internals of kernels, for they are subtle and quick t

Re: [PATCH][REPOST] KVM: VMX: Always return 0 for clear_flush_young() when using EPT

2008-09-08 Thread Yang, Sheng
On Sunday 07 September 2008 21:31:54 Avi Kivity wrote: > Why not to a > > if (!shadow_access_mask) >return 0; > > in the beginning? Oops... > > I guess returning 'old' is safer than returning 'young'. Yeah, me too, though possibly cause thrashing. How about this one? -- From: Sheng Ya

Re: [PATCH][REPOST] KVM: VMX: Always return 0 for clear_flush_young() when using EPT

2008-09-07 Thread Avi Kivity
Yang, Sheng wrote: Hi Avi It seems something wrong with my git-send-email, and I can't got my post from kvm@vger.kernel.org, so resend it. Sorry for inconvenient. - _young = _spte & PT_ACCESSED_MASK; - if (_young) { - young = 1; -

[PATCH][REPOST] KVM: VMX: Always return 0 for clear_flush_young() when using EPT

2008-09-03 Thread Yang, Sheng
Hi Avi It seems something wrong with my git-send-email, and I can't got my post from kvm@vger.kernel.org, so resend it. Sorry for inconvenient. Thanks! -- From: Sheng Yang <[EMAIL PROTECTED]> Date: Mon, 1 Sep 2008 13:22:09 +0800 Subject: [PATCH] KVM: VMX: Always return 0 for clear_flush_young(