commit | 84fbbe21894bb9be8e16df408cbfbb9466fe396d | [log] [tgz] |
---|---|---|
author | Matthew Wilcox (Oracle) <willy@infradead.org> | Sat Jan 29 16:16:54 2022 -0500 |
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | Mon Mar 21 13:01:35 2022 -0400 |
tree | e908796cd1ee4ef4f693807f82ebaaa6a15f9b8f | |
parent | 2f031c6f042cb8a9b221a8b6b80e69de5170f830 [diff] |
mm/rmap: Constify the rmap_walk_control argument The rmap walking functions do not modify the rmap_walk_control, and page_idle_clear_pte_refs() takes advantage of that to move construction of the rmap_walk_control to compile time. This lets us remove an unclean cast. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>