lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ