lkml.org 
[lkml]   [2017]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2017-10-03 23:06    [W:0.094 / U:3.476 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site