Re: [patch -mm] mm, hugetlb: schedule when potentially allocating many hugepages

2017-06-09 Thread David Rientjes
On Wed, 7 Jun 2017, Mike Kravetz wrote: > > @@ -2364,6 +2366,7 @@ static unsigned long set_max_huge_pages(struct hstate > > *h, unsigned long count, > > ret = alloc_fresh_gigantic_page(h, nodes_allowed); > > else > > ret =

Re: [patch -mm] mm, hugetlb: schedule when potentially allocating many hugepages

2017-06-09 Thread David Rientjes
On Wed, 7 Jun 2017, Mike Kravetz wrote: > > @@ -2364,6 +2366,7 @@ static unsigned long set_max_huge_pages(struct hstate > > *h, unsigned long count, > > ret = alloc_fresh_gigantic_page(h, nodes_allowed); > > else > > ret =

Re: [patch -mm] mm, hugetlb: schedule when potentially allocating many hugepages

2017-06-07 Thread Mike Kravetz
On 06/07/2017 09:03 PM, David Rientjes wrote: > A few hugetlb allocators loop while calling the page allocator and can > potentially prevent rescheduling if the page allocator slowpath is not > utilized. > > Conditionally schedule when large numbers of hugepages can be allocated. > >

Re: [patch -mm] mm, hugetlb: schedule when potentially allocating many hugepages

2017-06-07 Thread Mike Kravetz
On 06/07/2017 09:03 PM, David Rientjes wrote: > A few hugetlb allocators loop while calling the page allocator and can > potentially prevent rescheduling if the page allocator slowpath is not > utilized. > > Conditionally schedule when large numbers of hugepages can be allocated. > >

[patch -mm] mm, hugetlb: schedule when potentially allocating many hugepages

2017-06-07 Thread David Rientjes
A few hugetlb allocators loop while calling the page allocator and can potentially prevent rescheduling if the page allocator slowpath is not utilized. Conditionally schedule when large numbers of hugepages can be allocated. Signed-off-by: David Rientjes --- Based on -mm

[patch -mm] mm, hugetlb: schedule when potentially allocating many hugepages

2017-06-07 Thread David Rientjes
A few hugetlb allocators loop while calling the page allocator and can potentially prevent rescheduling if the page allocator slowpath is not utilized. Conditionally schedule when large numbers of hugepages can be allocated. Signed-off-by: David Rientjes --- Based on -mm only to prevent merge