[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150427154356.67e3d186b732a2c2b00e49cb@linux-foundation.org>
Date: Mon, 27 Apr 2015 15:43:56 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Mel Gorman <mgorman@...e.de>
Cc: Linux-MM <linux-mm@...ck.org>, Nathan Zimmer <nzimmer@....com>,
Dave Hansen <dave.hansen@...el.com>,
Waiman Long <waiman.long@...com>,
Scott Norton <scott.norton@...com>,
Daniel J Blueman <daniel@...ascale.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 11/13] mm: meminit: Free pages in large chunks where
possible
On Thu, 23 Apr 2015 11:33:14 +0100 Mel Gorman <mgorman@...e.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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists