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: <20171003210540.GM3301751@devbig577.frc2.facebook.com>
Date:   Tue, 3 Oct 2017 14:05:40 -0700
From:   Tejun Heo <tj@...nel.org>
To:     Nicolas Pitre <nicolas.pitre@...aro.org>
Cc:     Christoph Lameter <cl@...ux.com>, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm/percpu.c: use smarter memory allocation for struct
 pcpu_alloc_info

On Tue, Oct 03, 2017 at 04:57:44PM -0400, Nicolas Pitre wrote:
> This can be much smaller than a page on very small memory systems. 
> Always rounding up the size to a page is wasteful in that case, and 
> required alignment is smaller than the memblock default. Let's round 
> things up to a page size only when the actual size is >= page size, and 
> then it makes sense to page-align for a nicer allocation pattern.

Isn't that a temporary area which gets freed later during boot?

Thanks.

-- 
tejun

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ