Skip to contentSkip to conversation

mm-track-vma-changes-with-vm_softdirty-bit-fix.patch removed from -mm tree

folded-merged [email protected] 1 participant 1 message Sep 11, 2013 Documentation

lore
Share & tools
lore
#0 lore raw

Subject: [folded-merged] mm-track-vma-changes-with-vm_softdirty-bit-fix.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 11 Sep 2013 13:59:48 -0700

The patch titled
Subject: docs: Document soft dirty behaviour for freshly created memory regions, v2
has been removed from the -mm tree. Its filename was
mm-track-vma-changes-with-vm_softdirty-bit-fix.patch

This patch was dropped because it was folded into mm-track-vma-changes-with-vm_softdirty-bit.patch

------------------------------------------------------
From: Cyrill Gorcunov <[email protected]>
Subject: docs: Document soft dirty behaviour for freshly created memory regions, v2

Cc Pavel Emelyanov <[email protected]>
Cc Andy Lutomirski <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Matt Mackall <[email protected]>
Cc Xiao Guangrong <[email protected]>
Cc Marcelo Tosatti <[email protected]>
Cc KOSAKI Motohiro <[email protected]>
Cc Stephen Rothwell <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc "Aneesh Kumar K.V" <[email protected]>
Cc Randy Dunlap <[email protected]>
Cc Rob Landley <[email protected]>

---

 Documentation/vm/soft-dirty.txt |    7 +++++++
 1 file changed, 7 insertions(+)
Documentation/vm/soft-dirty.txt renamed from Documentation/vm/soft-dirty.txt~mm-track-vma-changes-with-vm_softdirty-bit-fix +7 -0
diff -puN Documentation/vm/soft-dirty.txt~mm-track-vma-changes-with-vm_softdirty-bit-fix Documentation/vm/soft-dirty.txt
@@ -28,6 +28,13 @@ This is so, since the pages are still ma
 the kernel does is finds this fact out and puts both writable and soft-dirty
 bits on the PTE.
 
+  While in most cases tracking memory changes by #PF-s is more than enough
+there is still a scenario when we can lose soft dirty bits -- a task
+unmaps a previously mapped memory region and then maps a new one at exactly
+the same place. When unmap is called, the kernel internally clears PTE values
+including soft dirty bits. To notify user space application about such
+memory region renewal the kernel always marks new memory regions (and
+expanded regions) as soft dirty.
 
   This feature is actively used by the checkpoint-restore project. You
 can find more details about it on http://criu.org

_

Patches currently in -mm which might be from [email protected] are

mm-track-vma-changes-with-vm_softdirty-bit.patch mm-make-sure-_page_swp_soft_dirty-bit-is-not-set-on-present-pte.patch fs-proc-task_mmuc-check-the-return-value-of-mpol_to_str.patch