[lkml]   [2017]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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?



 \ /
  Last update: 2017-10-03 23:06    [W:0.069 / U:8.904 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site