Re: [PATCH] mm/huge_memory.c: use helper function migration_entry_to_page()

2021-03-13 Thread Miaohe Lin
Hi: On 2021/3/13 18:32, Miaohe Lin wrote: > It's more recommended to use helper function migration_entry_to_page() to > get the page via migration entry. We can also enjoy the PageLocked() > check there. > > Signed-off-by: Miaohe Lin My bad! I have send this patch inside another patch series.

[PATCH] mm/huge_memory.c: use helper function migration_entry_to_page()

2021-03-13 Thread Miaohe Lin
It's more recommended to use helper function migration_entry_to_page() to get the page via migration entry. We can also enjoy the PageLocked() check there. Signed-off-by: Miaohe Lin --- mm/huge_memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/huge_memory.c