Re: [PATCH 05/10] mm/hugetlb: remove the redundant check on non_swap_entry()

2020-08-07 Thread Wei Yang
On Fri, Aug 07, 2020 at 08:55:50PM +0800, Baoquan He wrote: >On 08/07/20 at 05:12pm, Wei Yang wrote: >> Migration and hwpoison entry is a subset of non_swap_entry(). >> >> Remove the redundant check on non_swap_entry(). >> >> Signed-off-by: Wei Yang > >Hmm, I have posted one patch to do the same

Re: [PATCH 05/10] mm/hugetlb: remove the redundant check on non_swap_entry()

2020-08-07 Thread Baoquan He
On 08/07/20 at 05:12pm, Wei Yang wrote: > Migration and hwpoison entry is a subset of non_swap_entry(). > > Remove the redundant check on non_swap_entry(). > > Signed-off-by: Wei Yang Hmm, I have posted one patch to do the same thing, got reivewed by people. https://lore.kernel.org/linux-mm/20

[PATCH 05/10] mm/hugetlb: remove the redundant check on non_swap_entry()

2020-08-07 Thread Wei Yang
Migration and hwpoison entry is a subset of non_swap_entry(). Remove the redundant check on non_swap_entry(). Signed-off-by: Wei Yang --- mm/hugetlb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/hugetlb.c b/mm/hugetlb.c index d775e514eb2e..f5f04e89000d 100644 ---