mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-18 11:54:37 +08: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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user