Thread (30 messages) flat view 30 messages, 5 authors, 2021-04-12

Re: [PATCH 0/9 v6] Introduce a bulk order-0 page allocator with two in-tree users

From: Uladzislau Rezki <urezki@gmail.com>
Date: 2021-03-25 14:14:31
Also in: linux-mm, linux-nfs, lkml

On Thu, Mar 25, 2021 at 02:09:27PM +0000, Matthew Wilcox wrote:
On Thu, Mar 25, 2021 at 03:06:57PM +0100, Uladzislau Rezki wrote:
quoted
For the vmalloc we should be able to allocating on a specific NUMA node,
at least the current interface takes it into account. As far as i see
the current interface allocate on a current node:

static inline unsigned long
alloc_pages_bulk_array(gfp_t gfp, unsigned long nr_pages, struct page **page_array)
{
    return __alloc_pages_bulk(gfp, numa_mem_id(), NULL, nr_pages, NULL, page_array);
}

Or am i missing something?
You can call __alloc_pages_bulk() directly; there's no need to indirect
through alloc_pages_bulk_array().
OK. It is accessible then.

--
Vlad Rezki
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help