mm-mremap-account-memory-on-do_munmap-failure.patch removed from -mm tree
The patch titled
Subject: mm/mremap: account memory on do_munmap() failure
has been removed from the -mm tree. Its filename was
mm-mremap-account-memory-on-do_munmap-failure.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Dmitry Safonov <[email protected]>
Subject: mm/mremap: account memory on do_munmap() failure
Patch series "mremap: move_vma() fixes".
This patch (of 6):
move_vma() copies VMA without adding it to account, then unmaps old part of VMA. On failure it unmaps the new VMA. With hacks accounting in munmap is disabled as it's a copy of existing VMA.
Account the memory on munmap() failure which was previously copied into a new VMA.
---
mm/mremap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
mm/mremap.c renamed from mm/mremap.c~mm-mremap-account-memory-on-do_munmap-failure +2 -1
@@ -600,7 +600,8 @@ static unsigned long move_vma(struct vm_if (do_munmap (mm, old_addr, old_len, uf_unmap) <0 ) {/* OOM: unable to split vma, just get accounts right */ -vm_unacct_memory (excess >>PAGE_SHIFT ); +if (vm_flags &VM_ACCOUNT ) +vm_acct_memory (new_len >>PAGE_SHIFT ); excess =0 ; }
_
Patches currently in -mm which might be from [email protected] are