Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1682063

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

From Anshuman Khandual <khandual@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [patch v2 -mm] mm, hugetlb: schedule when potentially allocating many hugepages
Date 2017-07-06 08:10 +0200
Message-ID <u089d-Ad-7@gated-at.bofh.it> (permalink)
References <tPWVI-7FJ-9@gated-at.bofh.it> <tPXoJ-7V3-5@gated-at.bofh.it> <tQAJr-7ia-5@gated-at.bofh.it> <tQAJr-7ia-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 06/10/2017 04:06 AM, 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.
> 
> Signed-off-by: David Rientjes <rientjes@google.com>

Fixes a task which was getting hung while writing like 10000
hugepages (16MB on POWER8) into /proc/sys/vm/nr_hugepages.

Tested-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [patch v2 -mm] mm, hugetlb: schedule when potentially allocating  many hugepages Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2017-07-06 08:10 +0200

csiph-web