mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
Revert "ANDROID: fix up 60500a4228 ("ANDROID: mm: add a field to store names for private anonymous memory")"
This reverts commit b5c8a97d50.
Replacing out-of-tree implementation with the upstream one.
Bug: 120441514
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I8f97071b73bfb1af66a8349c9575e7c53af00642
This commit is contained in:
@@ -147,8 +147,8 @@ static void seq_print_vma_name(struct seq_file *m, struct vm_area_struct *vma)
|
||||
long pages_pinned;
|
||||
struct page *page;
|
||||
|
||||
pages_pinned = get_user_pages_remote(mm, page_start_vaddr, 1, 0,
|
||||
&page, NULL, NULL);
|
||||
pages_pinned = get_user_pages_remote(current, mm,
|
||||
page_start_vaddr, 1, 0, &page, NULL, NULL);
|
||||
if (pages_pinned < 1) {
|
||||
seq_puts(m, "<fault>]");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user