Re: [PATCH v3 3/6] mm/huge_memory.c: rework the function do_huge_pmd_numa_page() slightly

2021-03-18 Thread Zi Yan
On 18 Mar 2021, at 8:27, Miaohe Lin wrote: > The current code that checks if migrating misplaced transhuge page is > needed is pretty hard to follow. Rework it and add a comment to make > its logic more clear and improve readability. > > Signed-off-by: Miaohe Lin > --- > mm/huge_memory.c | 11

[PATCH v3 3/6] mm/huge_memory.c: rework the function do_huge_pmd_numa_page() slightly

2021-03-18 Thread Miaohe Lin
The current code that checks if migrating misplaced transhuge page is needed is pretty hard to follow. Rework it and add a comment to make its logic more clear and improve readability. Signed-off-by: Miaohe Lin --- mm/huge_memory.c | 11 +-- 1 file changed, 5 insertions(+), 6