mm-mmap-rename-__vma_unlink_common-to-__vma_unlink.patch removed from -mm tree
The patch titled
Subject: mm/mmap: rename __vma_unlink_common() to __vma_unlink()
has been removed from the -mm tree. Its filename was
mm-mmap-rename-__vma_unlink_common-to-__vma_unlink.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Wei Yang <[email protected]>
Subject: mm/mmap: rename __vma_unlink_common() to __vma_unlink()
__vma_unlink_common() and __vma_unlink() are counterparts. Since there is no function named __vma_unlink(), let's rename __vma_unlink_common() to __vma_unlink() to make the code more self-explanatory and easy for audience to understand.
Otherwise we may expect there are several variants of vma_unlink() and __vma_unlink_common() is used by them.
---
mm/mmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
mm/mmap.c renamed from mm/mmap.c~mm-mmap-rename-__vma_unlink_common-to-__vma_unlink +3 -3
@@ -677,7 +677,7 @@ static void __insert_vm_struct(struct mm mm->map_count++; } -static __always_inline void __vma_unlink_common(struct mm_struct *mm, +static __always_inline void __vma_unlink(struct mm_struct *mm,struct vm_area_struct *vma,struct vm_area_struct *ignore) {
@@ -859,7 +859,7 @@ again:* us to remove next before dropping the locks. */ if (remove_next !=3 ) -__vma_unlink_common (mm, next, next); +__vma_unlink (mm, next, next);else /* * vma is not before next if they've been
@@ -870,7 +870,7 @@ again:* "next" (which is stored in post-swap() * "vma"). */ -__vma_unlink_common (mm, next, vma); +__vma_unlink (mm, next, vma);if (file)__remove_shared_vm_struct (next, file, mapping); }else if (insert) {
_
Patches currently in -mm which might be from [email protected] are
mm-page_reporting-drop-stale-list-head-check-in-page_reporting_cycle.patch bitops-simplify-get_count_order_long.patch bitops-use-the-same-mechanism-for-get_count_order.patch