From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935261AbdGTNko (ORCPT ); Thu, 20 Jul 2017 09:40:44 -0400 Received: from mx2.suse.de ([195.135.220.15]:41950 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934111AbdGTNkl (ORCPT ); Thu, 20 Jul 2017 09:40:41 -0400 From: Vlastimil Babka To: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org, Joonsoo Kim , Andrew Morton , Michal Hocko , Mel Gorman , Yang Shi , Laura Abbott , Vinayak Menon , zhong jiang , Vlastimil Babka Subject: [PATCH 0/4] page_ext/page_owner init fixes Date: Thu, 20 Jul 2017 15:40:25 +0200 Message-Id: <20170720134029.25268-1-vbabka@suse.cz> X-Mailer: git-send-email 2.13.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a followup to the mail thread [1] where we discussed some issues with current page_owner (thus also page_ext) init code. Patch 1 should be a straightforward optimization found during the process. Patches 2 and 3 are preparation towards patch 4, with the main issue described in its commit log. It's a RFC because there may be other solutions possible. [1] http://marc.info/?l=linux-mm&m=149883233221147&w=2 Vlastimil Babka (4): mm, page_owner: make init_pages_in_zone() faster mm, page_ext: periodically reschedule during page_ext_init() mm, page_owner: don't grab zone->lock for init_pages_in_zone() mm, page_ext: move page_ext_init() after page_alloc_init_late() init/main.c | 3 ++- mm/page_ext.c | 5 ++--- mm/page_owner.c | 35 ++++++++++++++++++++++++++++------- 3 files changed, 32 insertions(+), 11 deletions(-) -- 2.13.2