lkml.org 
[lkml]   [2016]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Linux 4.9-rc6
From
Date
On Mon, 2016-11-21 at 05:51 -0800, Eric Dumazet wrote:

> + while (chunk_order) {
> + if (node == NUMA_NO_NODE)
> + page = alloc_pages(multi_alloc_mask, chunk_order);
> + else
> + page = alloc_pages_node(node, multi_alloc_mask, chunk_order);
> + if (page) {
> + split_page(page, chunk_order);
> + break;
> + }
> + chunk_order--;
> + }


We also could remember the page order with set_page_private() and
speedup show_numa_info()

I wonder if we could avoid the split_page() and speedup vfree().




\
 
 \ /
  Last update: 2016-11-21 17:50    [W:0.072 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site