Re: [PATCH v3 08/26] page_pool: Convert pp_alloc_cache to contain netmem

From
Matthew Wilcox <willy@infradead.org>
Date
2023-01-14 17:58:59
Also in
linux-mm
Reply to
Shay Agroskin, 2023-01-14
On Sat, Jan 14, 2023 at 02:28:50PM +0200, Shay Agroskin wrote:
quoted
 	memset(&pool->alloc.cache, 0, sizeof(void *) * bulk);
   	nr_pages = alloc_pages_bulk_array_node(gfp, pool->p.nid,  bulk,
-					       pool->alloc.cache);
+					(struct page **)pool->alloc.cache);
Can you fix the alignment here (so that the '(struct page **)' would align
the the 'gfp' argument one line above) ?
No, that makes the line too long.
Thread (41 messages) 41 messages, 5 authors, last reply 2023-01-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help