Patch series "mm/vma: Use all available wrappers when possible", v2. Apart from adding a VMA flag readable name for trace purpose, this series does some open encoding replacements with availabe VMA specific wrappers. This skips VM_HUGETLB check in vma_migratable() as its already being done with another patch (https://patchwork.kernel.org/patch/11347831/) which is yet to be merged. This patch (of 4): This just adds the missing readable name for VM_SYNC.
Unified · Split
| @@ -154,6 +154,7 @@ IF_HAVE_PG_IDLE(PG_idle, "idle" ) · 153 unmodified lines | |||
| 154 | {VM_ACCOUNT, "account" }, \ | 154 | {VM_ACCOUNT, "account" }, \ |
| 155 | {VM_NORESERVE, "noreserve" }, \ | 155 | {VM_NORESERVE, "noreserve" }, \ |
| 156 | {VM_HUGETLB, "hugetlb" }, \ | 156 | {VM_HUGETLB, "hugetlb" }, \ |
| 157 | {VM_SYNC, "sync" }, \ | ||
| 157 | __VM_ARCH_SPECIFIC_1 , \ | 158 | __VM_ARCH_SPECIFIC_1 , \ |
| 158 | {VM_WIPEONFORK, "wipeonfork" }, \ | 159 | {VM_WIPEONFORK, "wipeonfork" }, \ |
| 159 | {VM_DONTDUMP, "dontdump" }, \ | 160 | {VM_DONTDUMP, "dontdump" }, \ |