Re: [RFC PATCH v2 01/16] mm,hwpoison: cleanup unused PageHuge() check

2019-10-21 Thread Michal Hocko
On Mon 21-10-19 07:00:46, Naoya Horiguchi wrote: > On Fri, Oct 18, 2019 at 01:48:32PM +0200, Michal Hocko wrote: > > On Thu 17-10-19 16:21:08, Oscar Salvador wrote: > > > From: Naoya Horiguchi > > > > > > Drop the PageHuge check since memory_failure forks into > > > memory_failure_hugetlb() > >

Re: [RFC PATCH v2 01/16] mm,hwpoison: cleanup unused PageHuge() check

2019-10-21 Thread Naoya Horiguchi
On Fri, Oct 18, 2019 at 01:48:32PM +0200, Michal Hocko wrote: > On Thu 17-10-19 16:21:08, Oscar Salvador wrote: > > From: Naoya Horiguchi > > > > Drop the PageHuge check since memory_failure forks into > > memory_failure_hugetlb() > > for hugetlb pages. > > > > Signed-off-by: Oscar Salvador >

Re: [RFC PATCH v2 01/16] mm,hwpoison: cleanup unused PageHuge() check

2019-10-18 Thread Michal Hocko
On Thu 17-10-19 16:21:08, Oscar Salvador wrote: > From: Naoya Horiguchi > > Drop the PageHuge check since memory_failure forks into > memory_failure_hugetlb() > for hugetlb pages. > > Signed-off-by: Oscar Salvador > Signed-off-by: Naoya Horiguchi s-o-b chain is reversed. The code is a bit c

[RFC PATCH v2 01/16] mm,hwpoison: cleanup unused PageHuge() check

2019-10-17 Thread Oscar Salvador
From: Naoya Horiguchi Drop the PageHuge check since memory_failure forks into memory_failure_hugetlb() for hugetlb pages. Signed-off-by: Oscar Salvador Signed-off-by: Naoya Horiguchi --- mm/memory-failure.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mm/memory-fail