Re: [PATCH 1/2] smaps: show VM_SOFTDIRTY flag in VmFlags line

2013-10-07 Thread Pavel Emelyanov
On 10/04/2013 11:02 PM, Naoya Horiguchi wrote: > This flag shows that soft dirty bit is not enabled yet. > You can enable it by "echo 4 > /proc/pid/clear_refs." The comment is not correct. Per-VMA soft-dirty flag means, that VMA is "newly created" one and thus represents a new (dirty) are in task'

[PATCH 1/2] smaps: show VM_SOFTDIRTY flag in VmFlags line

2013-10-04 Thread Naoya Horiguchi
This flag shows that soft dirty bit is not enabled yet. You can enable it by "echo 4 > /proc/pid/clear_refs." Signed-off-by: Naoya Horiguchi --- fs/proc/task_mmu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git v3.12-rc2-mmots-2013-09-24-17-03.orig/fs/proc/task_mmu.c v3.12-rc2-mmots-2013-