lkml.org 
[lkml]   [2011]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mmu_notifier, kvm: Introduce dirty bit tracking in spte and mmu notifier to help KSM dirty bit tracking
On 06/22/2011 02:28 PM, Avi Kivity wrote:
>
> Actually, this is dangerous. If we use the dirty bit for other
> things, we will get data corruption.
>
> For example we might want to map clean host pages as writeable-clean
> in the spte on a read fault so that we don't get a page fault when
> they get eventually written.
>

Another example - we can use the dirty bit for dirty page loggging.

So I think we can get away with a conditional tlb flush - only flush if
the page was dirty. That should be rare after the first pass, at least
with small pages.

--
error compiling committee.c: too many arguments to function



\
 
 \ /
  Last update: 2011-06-22 13:33    [W:0.160 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site