Re: [RFC PATCH 2/3] mm: add find_alloc_contig_pages() interface

2018-02-13 Thread Mike Rapoport
On Mon, Feb 12, 2018 at 02:20:55PM -0800, Mike Kravetz wrote: > find_alloc_contig_pages() is a new interface that attempts to locate > and allocate a contiguous range of pages. It is provided as a more > convenient interface to the existing alloc_contig_range() interface > which is used by CMA,

Re: [RFC PATCH 2/3] mm: add find_alloc_contig_pages() interface

2018-02-13 Thread Mike Rapoport
On Mon, Feb 12, 2018 at 02:20:55PM -0800, Mike Kravetz wrote: > find_alloc_contig_pages() is a new interface that attempts to locate > and allocate a contiguous range of pages. It is provided as a more > convenient interface to the existing alloc_contig_range() interface > which is used by CMA,

[RFC PATCH 2/3] mm: add find_alloc_contig_pages() interface

2018-02-12 Thread Mike Kravetz
find_alloc_contig_pages() is a new interface that attempts to locate and allocate a contiguous range of pages. It is provided as a more convenient interface to the existing alloc_contig_range() interface which is used by CMA, memory hotplug and gigantic huge pages. When attempting to allocate a

[RFC PATCH 2/3] mm: add find_alloc_contig_pages() interface

2018-02-12 Thread Mike Kravetz
find_alloc_contig_pages() is a new interface that attempts to locate and allocate a contiguous range of pages. It is provided as a more convenient interface to the existing alloc_contig_range() interface which is used by CMA, memory hotplug and gigantic huge pages. When attempting to allocate a