/proc/pid/smaps: show VM_SOFTDIRTY flag in VmFlags line
authorNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Tue, 12 Nov 2013 23:07:49 +0000 (15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:07 +0000 (12:09 +0900)
commitec8e41aec13005fed0dbee002fb8c99b4e001d50
treec14fee4cc32360055870d89b0256931a2c7e67bf
parentbfc4f9d5206739d0612782508a39e93b0793609d
/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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/filesystems/proc.txt
fs/proc/task_mmu.c