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: Matthew Wilcox <willy@infradead.org>
Date: 2021-03-25 14:11:51
Also in: linux-nfs, lkml, netdev

On Thu, Mar 25, 2021 at 03:06:57PM +0100, Uladzislau Rezki wrote:
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().
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help