lkml.org 
[lkml]   [2015]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 11/13] mm: meminit: Free pages in large chunks where possible
On Thu, 23 Apr 2015 11:33:14 +0100 Mel Gorman <mgorman@suse.de> wrote:

> Parallel struct page frees pages one at a time. Try free pages as single
> large pages where possible.
>
> ...
>
> void __defermem_init deferred_init_memmap(int nid)

This function is gruesome in an 80-col display. Even the code comments
wrap, which is nuts. Maybe hoist the contents of the outermost loop
into a separate function, called for each zone?


\
 
 \ /
  Last update: 2015-04-28 01:21    [W:0.204 / U:1.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site