Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

rmap: remove page_unlock_anon_vma_read()

This was simply an alias for anon_vma_unlock_read() since 2011.

Link: https://lkml.kernel.org/r/20220902194653.1739778-56-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Matthew Wilcox (Oracle) and committed by
Andrew Morton
0c826c0b 29eea9b5

+1 -11
-5
include/linux/rmap.h
··· 458 458 459 459 void rmap_walk(struct folio *folio, struct rmap_walk_control *rwc); 460 460 void rmap_walk_locked(struct folio *folio, struct rmap_walk_control *rwc); 461 - 462 - /* 463 - * Called by memory-failure.c to kill processes. 464 - */ 465 461 struct anon_vma *folio_lock_anon_vma_read(struct folio *folio, 466 462 struct rmap_walk_control *rwc); 467 - void page_unlock_anon_vma_read(struct anon_vma *anon_vma); 468 463 469 464 #else /* !CONFIG_MMU */ 470 465
+1 -1
mm/memory-failure.c
··· 529 529 } 530 530 } 531 531 read_unlock(&tasklist_lock); 532 - page_unlock_anon_vma_read(av); 532 + anon_vma_unlock_read(av); 533 533 } 534 534 535 535 /*
-5
mm/rmap.c
··· 599 599 return anon_vma; 600 600 } 601 601 602 - void page_unlock_anon_vma_read(struct anon_vma *anon_vma) 603 - { 604 - anon_vma_unlock_read(anon_vma); 605 - } 606 - 607 602 #ifdef CONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH 608 603 /* 609 604 * Flush TLB entries for recently unmapped pages from remote CPUs. It is