Skip to contentSkip to conversation

smaps-show-vm_softdirty-flag-in-vmflags-line.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 13, 2013

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] smaps-show-vm_softdirty-flag-in-vmflags-line.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 13 Nov 2013 12:38:46 -0800

The patch titled
Subject: /proc/pid/smaps: show VM_SOFTDIRTY flag in VmFlags line
has been removed from the -mm tree. Its filename was
smaps-show-vm_softdirty-flag-in-vmflags-line.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Naoya Horiguchi <[email protected]>
Subject: /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."

---

 Documentation/filesystems/proc.txt |    1 +
 fs/proc/task_mmu.c                 |    3 +++
 2 files changed, 4 insertions(+)
Documentation/filesystems/proc.txt renamed from Documentation/filesystems/proc.txt~smaps-show-vm_softdirty-flag-in-vmflags-line +1 -0
diff -puN Documentation/filesystems/proc.txt~smaps-show-vm_softdirty-flag-in-vmflags-line Documentation/filesystems/proc.txt
@@ -460,6 +460,7 @@ manner. The codes are the following:
     nl  - non-linear mapping
     ar  - architecture specific flag
     dd  - do not include area into core dump
+    sd  - soft-dirty flag
     mm  - mixed map area
     hg  - huge page advise flag
     nh  - no-huge page advise flag
fs/proc/task_mmu.c renamed from fs/proc/task_mmu.c~smaps-show-vm_softdirty-flag-in-vmflags-line +3 -0
diff -puN fs/proc/task_mmu.c~smaps-show-vm_softdirty-flag-in-vmflags-line fs/proc/task_mmu.c
@@ -561,6 +561,9 @@ static void show_smap_vma_flags(struct s
 		[ilog2(VM_NONLINEAR)]	= "nl",
 		[ilog2(VM_ARCH_1)]	= "ar",
 		[ilog2(VM_DONTDUMP)]	= "dd",
+#ifdef CONFIG_MEM_SOFT_DIRTY
+		[ilog2(VM_SOFTDIRTY)]	= "sd",
+#endif
 		[ilog2(VM_MIXEDMAP)]	= "mm",
 		[ilog2(VM_HUGEPAGE)]	= "hg",
 		[ilog2(VM_NOHUGEPAGE)]	= "nh",

_

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

origin.patch x86-mm-get-aslr-work-for-hugetlb-mappings.patch mm-avoid-increase-sizeofstruct-page-due-to-split-page-table-lock.patch mm-rename-use_split_ptlocks-to-use_split_pte_ptlocks.patch mm-convert-mm-nr_ptes-to-atomic_long_t.patch mm-introduce-api-for-split-page-table-lock-for-pmd-level.patch mm-thp-change-pmd_trans_huge_lock-to-return-taken-lock.patch mm-thp-move-ptl-taking-inside-page_check_address_pmd.patch mm-thp-do-not-access-mm-pmd_huge_pte-directly.patch mm-hugetlb-convert-hugetlbfs-to-use-split-pmd-lock.patch mm-convert-the-rest-to-new-page-table-lock-api.patch mm-implement-split-page-table-lock-for-pmd-level.patch x86-mm-enable-split-page-table-lock-for-pmd-level.patch