Re: [RFC PATCH V2 1/4] mm: Export alloc_migrate_huge_page

2018-09-06 Thread Aneesh Kumar K.V
On 09/06/2018 06:05 PM, Michal Hocko wrote: On Thu 06-09-18 14:31:11, Michal Hocko wrote: On Thu 06-09-18 11:13:39, Aneesh Kumar K.V wrote: We want to use this to support customized huge page migration. Please be much more specific. Ideally including the user. Btw. why do you want to skip the

Re: [RFC PATCH V2 1/4] mm: Export alloc_migrate_huge_page

2018-09-06 Thread Michal Hocko
On Thu 06-09-18 14:31:11, Michal Hocko wrote: > On Thu 06-09-18 11:13:39, Aneesh Kumar K.V wrote: > > We want to use this to support customized huge page migration. > > Please be much more specific. Ideally including the user. Btw. why do > you want to skip the hugetlb pools? In other words alloc_

Re: [RFC PATCH V2 1/4] mm: Export alloc_migrate_huge_page

2018-09-06 Thread Michal Hocko
On Thu 06-09-18 11:13:39, Aneesh Kumar K.V wrote: > We want to use this to support customized huge page migration. Please be much more specific. Ideally including the user. Btw. why do you want to skip the hugetlb pools? In other words alloc_huge_page_node* which are intended to an external use?

[RFC PATCH V2 1/4] mm: Export alloc_migrate_huge_page

2018-09-05 Thread Aneesh Kumar K.V
We want to use this to support customized huge page migration. Signed-off-by: Aneesh Kumar K.V --- include/linux/hugetlb.h | 2 ++ mm/hugetlb.c| 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h index c39d9170a8a0