login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
July
»
14
Re: [PATCH 3/4] KVM: MMU: track dirty page in speculative path properly
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Marcelo Tosatti
Subject:
Re: [PATCH 3/4] KVM: MMU: track dirty page in speculative path properly
Date: Wednesday, July 14, 2010 - 4:09 am
On Wed, Jul 14, 2010 at 09:24:22AM +0800, Xiao Guangrong wrote:
quoted text
> > > 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@cn.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? :-)
See set_page_dirty call in mm/memory.c::follow_page. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 1/4] KVM: MMU: fix forgot reserved bits check in sp ...
, Xiao Guangrong
, (Tue Jul 13, 2:42 am)
[PATCH 2/4] KVM: MMU: cleanup spte update path
, Xiao Guangrong
, (Tue Jul 13, 2:43 am)
[PATCH 3/4] KVM: MMU: track dirty page in speculative path ...
, Xiao Guangrong
, (Tue Jul 13, 2:45 am)
[PATCH 4/4] KVM: MMU: remove valueless output message
, Xiao Guangrong
, (Tue Jul 13, 2:46 am)
Re: [PATCH 1/4] KVM: MMU: fix forgot reserved bits check i ...
, Marcelo Tosatti
, (Tue Jul 13, 2:28 pm)
Re: [PATCH 3/4] KVM: MMU: track dirty page in speculative ...
, Marcelo Tosatti
, (Tue Jul 13, 3:05 pm)
Re: [PATCH 1/4] KVM: MMU: fix forgot reserved bits check i ...
, Xiao Guangrong
, (Tue Jul 13, 6:08 pm)
Re: [PATCH 3/4] KVM: MMU: track dirty page in speculative ...
, Xiao Guangrong
, (Tue Jul 13, 6:24 pm)
Re: [PATCH 3/4] KVM: MMU: track dirty page in speculative ...
, Xiao Guangrong
, (Tue Jul 13, 10:53 pm)
Re: [PATCH 3/4] KVM: MMU: track dirty page in speculative ...
, Marcelo Tosatti
, (Wed Jul 14, 4:09 am)
Re: [PATCH 1/4] KVM: MMU: fix forgot reserved bits check i ...
, Avi Kivity
, (Wed Jul 14, 6:06 am)
Re: [PATCH 3/4] KVM: MMU: track dirty page in speculative ...
, Xiao Guangrong
, (Wed Jul 14, 6:18 am)
Re: [PATCH 1/4] KVM: MMU: fix forgot reserved bits check i ...
, Xiao Guangrong
, (Wed Jul 14, 6:24 am)
Re: [PATCH 3/4] KVM: MMU: track dirty page in speculative ...
, Marcelo Tosatti
, (Wed Jul 14, 7:06 am)
Re: [PATCH 3/4] KVM: MMU: track dirty page in speculative ...
, Avi Kivity
, (Wed Jul 14, 7:25 am)
Re: [PATCH 1/4] KVM: MMU: fix forgot reserved bits check i ...
, Avi Kivity
, (Wed Jul 14, 7:27 am)
Re: [PATCH 3/4] KVM: MMU: track dirty page in speculative ...
, Xiao Guangrong
, (Thu Jul 15, 12:44 am)
Re: [PATCH 3/4] KVM: MMU: track dirty page in speculative ...
, Marcelo Tosatti
, (Thu Jul 15, 9:40 am)
Re: [PATCH 3/4] KVM: MMU: track dirty page in speculative ...
, Xiao Guangrong
, (Thu Jul 15, 6:58 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices
openbsd-misc
:
Theo de Raadt
Re: Old IPSEC bug
Tomáš Bodžár
Problem with vpnc connection - check group password !
Insan Praja SW
Mandoc Compiling Error
Carl Roberso
Re: Cannot change MTU of carp interfa