mm/huge_memory: rename freeze_page() to unmap_page()
The term "freeze" is used in several ways in the kernel, and in mm it
has the particular meaning of forcing page refcount temporarily to 0.
freeze_page() is just too confusing a name for a function that unmaps a
page: rename it unmap_page(), and rename unfreeze_page() remap_page().
Went to change the mention of freeze_page() added later in mm/rmap.c,
but found it to be incorrect: ordinary page reclaim reaches there too;
but the substance of the comment still seems correct, so edit it down.
Fixes: e9b61f19858a5 ("thp: reintroduce split_huge_page()")
Signed-off-by: Hugh Dickins <firstname.lastname@example.org>
Acked-by: Kirill A. Shutemov <email@example.com>
Cc: Jerome Glisse <firstname.lastname@example.org>
Cc: Konstantin Khlebnikov <email@example.com>
Cc: Matthew Wilcox <firstname.lastname@example.org>
Cc: <email@example.com> [4.8+]
Signed-off-by: Andrew Morton <firstname.lastname@example.org>
Signed-off-by: Linus Torvalds <email@example.com>
2 files changed