Revert "ANDROID: mm: add a field to store names for private anonymous memory"

This reverts commit 60500a4228.
Replacing out-of-tree implementation with the upstream one.

Bug: 120441514
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ic34c8e16d51ccf9f00cb59d2de341e911bcb2828
This commit is contained in:
Suren Baghdasaryan
2021-12-28 13:52:20 -08:00
parent c7c68b81e1
commit f355f9635d
12 changed files with 28 additions and 280 deletions

View File

@@ -511,7 +511,7 @@ static int mlock_fixup(struct vm_area_struct *vma, struct vm_area_struct **prev,
pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT);
*prev = vma_merge(mm, *prev, start, end, newflags, vma->anon_vma,
vma->vm_file, pgoff, vma_policy(vma),
vma->vm_userfaultfd_ctx, vma_get_anon_name(vma));
vma->vm_userfaultfd_ctx);
if (*prev) {
vma = *prev;
goto success;