mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-04 04:04:19 +00:00
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>
This commit is contained in:
parent
29eea9b5a9
commit
0c826c0b6a
@ -458,13 +458,8 @@ struct rmap_walk_control {
|
||||
|
||||
void rmap_walk(struct folio *folio, struct rmap_walk_control *rwc);
|
||||
void rmap_walk_locked(struct folio *folio, struct rmap_walk_control *rwc);
|
||||
|
||||
/*
|
||||
* Called by memory-failure.c to kill processes.
|
||||
*/
|
||||
struct anon_vma *folio_lock_anon_vma_read(struct folio *folio,
|
||||
struct rmap_walk_control *rwc);
|
||||
void page_unlock_anon_vma_read(struct anon_vma *anon_vma);
|
||||
|
||||
#else /* !CONFIG_MMU */
|
||||
|
||||
|
@ -529,7 +529,7 @@ static void collect_procs_anon(struct page *page, struct list_head *to_kill,
|
||||
}
|
||||
}
|
||||
read_unlock(&tasklist_lock);
|
||||
page_unlock_anon_vma_read(av);
|
||||
anon_vma_unlock_read(av);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -599,11 +599,6 @@ struct anon_vma *folio_lock_anon_vma_read(struct folio *folio,
|
||||
return anon_vma;
|
||||
}
|
||||
|
||||
void page_unlock_anon_vma_read(struct anon_vma *anon_vma)
|
||||
{
|
||||
anon_vma_unlock_read(anon_vma);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH
|
||||
/*
|
||||
* Flush TLB entries for recently unmapped pages from remote CPUs. It is
|
||||
|
Loading…
Reference in New Issue
Block a user