Re: [PATCH 01/10] mm/huge_memory: rename freeze_page() to unmap_page()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 26, 2018 at 03:16:28PM -0800, Hugh Dickins wrote:
> 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 <hughd@xxxxxxxxxx>
> Cc: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
> Cc: Jerome Glisse <jglisse@xxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx # 4.8+

Acked-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>

-- 
 Kirill A. Shutemov




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux