]> git.karo-electronics.de Git - karo-tx-linux.git/commit
/proc/pid/smaps: show VM_SOFTDIRTY flag in VmFlags line
authorNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Tue, 5 Nov 2013 05:55:42 +0000 (16:55 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:55:42 +0000 (16:55 +1100)
commit98315fb50bd6ddd046a21b698fb5a5f56674a46e
tree96bebad30a82bf8789d23eb5853c7abb3d13a3db
parenta22d2ec403a796d3f79126f68b6fb207f70cfdb1
/proc/pid/smaps: show VM_SOFTDIRTY flag in VmFlags line

This flag shows that the VMA is "newly created" and thus represents
"dirty" in the task's VM.

You can clear it by "echo 4 > /proc/pid/clear_refs."

Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/task_mmu.c