Re: [PATCH 08/13] mm: meminit: Initialise remaining struct pages in parallel with kswapd

From: Andrew Morton
Date: Mon Apr 27 2015 - 18:43:59 EST


On Thu, 23 Apr 2015 11:33:11 +0100 Mel Gorman <mgorman@xxxxxxx> wrote:

> Only a subset of struct pages are initialised at the moment. When this patch
> is applied kswapd initialise the remaining struct pages in parallel. This
> should boot faster by spreading the work to multiple CPUs and initialising
> data that is local to the CPU. The user-visible effect on large machines
> is that free memory will appear to rapidly increase early in the lifetime
> of the system until kswapd reports that all memory is initialised in the
> kernel log. Once initialised there should be no other user-visibile effects.
>
> ...
>
> + pr_info("kswapd %d initialised deferred memory in %ums\n", nid,
> + jiffies_to_msecs(jiffies - start));

It might be nice to tell people how much deferred memory kswapd
initialised.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/