[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1479746971.8455.416.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Mon, 21 Nov 2016 08:49:31 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Rientjes <rientjes@...gle.com>
Cc: Al Viro <viro@...iv.linux.org.uk>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: Linux 4.9-rc6
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().
Powered by blists - more mailing lists