Thread (49 messages) 49 messages, 6 authors, 2011-06-23

Re: [PATCH] mmu_notifier, kvm: Introduce dirty bit tracking in spte and mmu notifier to help KSM dirty bit tracking

From: Avi Kivity <hidden>
Date: 2011-06-22 11:31:28
Also in: kvm, lkml

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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help