Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965749AbbD0Wnz (ORCPT ); Mon, 27 Apr 2015 18:43:55 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:40088 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965722AbbD0Wnw (ORCPT ); Mon, 27 Apr 2015 18:43:52 -0400 Date: Mon, 27 Apr 2015 15:43:50 -0700 From: Andrew Morton To: Mel Gorman Cc: Linux-MM , Nathan Zimmer , Dave Hansen , Waiman Long , Scott Norton , Daniel J Blueman , LKML Subject: Re: [PATCH 08/13] mm: meminit: Initialise remaining struct pages in parallel with kswapd Message-Id: <20150427154350.4d649694a56e5bbc519e1fb4@linux-foundation.org> In-Reply-To: <1429785196-7668-9-git-send-email-mgorman@suse.de> References: <1429785196-7668-1-git-send-email-mgorman@suse.de> <1429785196-7668-9-git-send-email-mgorman@suse.de> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1057 Lines: 22 On Thu, 23 Apr 2015 11:33:11 +0100 Mel Gorman 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/