lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 14 Jul 2010 09:24:22 +0800 From: Xiao Guangrong <xiaoguangrong@...fujitsu.com> To: Marcelo Tosatti <mtosatti@...hat.com> CC: Avi Kivity <avi@...hat.com>, LKML <linux-kernel@...r.kernel.org>, KVM list <kvm@...r.kernel.org> Subject: Re: [PATCH 3/4] KVM: MMU: track dirty page in speculative path properly Marcelo Tosatti wrote: > On Tue, Jul 13, 2010 at 05:45:27PM +0800, Xiao Guangrong wrote: >> In speculative path, the page is not real write-access, no need mark it >> dirty, so clear dirty bit in this path and later examine this bit when >> we release the page >> >> Signed-off-by: Xiao Guangrong <xiaoguangrong@...fujitsu.com> >> --- >> arch/x86/kvm/mmu.c | 24 +++++++++++------------- >> 1 files changed, 11 insertions(+), 13 deletions(-) > > Unfortunately all pages that kvm creates translations for are marked > dirty due to get_user_pages(w=1), except KSM which makes them read-only > later. Marcelo, i have looked into get_user_pages() function, but not catch where to make page dirty, could you point it out for me? :-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists