Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4027851ybl; Mon, 13 Jan 2020 06:41:56 -0800 (PST) X-Google-Smtp-Source: APXvYqxOd4uGsfiObxgkNllrlg3c+EJw+UoKajg3qQW+9RaA0n5+f0a/PnB26wV5W3dGKQPc1dfh X-Received: by 2002:aca:d502:: with SMTP id m2mr12296922oig.41.1578926516859; Mon, 13 Jan 2020 06:41:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578926516; cv=none; d=google.com; s=arc-20160816; b=L3kFsLuHK+Yif0IpeJkm/Hfd7j4H7W2+CMHVVQVYTo8jak8b8y5ZmLjkLlLI5HU7x/ ARh/gzA48Ex4fQ0s1OLX5VxuMihSzUoe5fEWbaNCeH1Mp6I9SBLkS3UJvinuhgCinoMy BcY80uJb+zFCY0b9dSk4Q2iFyllmwzlzzQp7g5GDPXtjaqfSXKi6tnHq0EfZL/6ZjzVP BBzN58oH3b7xZbEkRWii/r/hRTiNKtf5J7+/X7PvfP15NcvCy14WQsiS+R9gklY17yIU 5UJzHY7pSdjO/ui1c509X7zdvs8zBUa9RD4oevkxdBxQjXxQ8znmZP+l4v/oS8vU/Uyk 9rqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=VWP7TBPDC/WWtI6AhL9UEcGZAEvWSrBUOBnztnDpDig=; b=ykuIRqMGKszFnYqWkQoG5HMkXQbwClm+1HvZxuPoMaMcz+OLgpRjWwtK+flAHPoBIE Tp/Pah9bWGyjsZAXbKCOmFDEJSB4j7lJW03t/gOYpG6ZXU9d8p9RfzMaryjINPSzcRD1 9H1Z6+4p4bGGNL36gsu1zFnXldnLMdAo6A1gPKAKkz1e1i9YuLhP3/mb6xEA+3PxviaE 8qwkd89olpFK+aGVgCfzkYEXAWXwvtmcl6uX8NCQfC/hFs8ZS23lphHD7yvb+q5tRepo Yu1ZWZwDSicGzVSL1ZsCROjNd5vKn2Svp7SbzfVUUtBJO3BObXwQt32kvy7A7xvBUCQ4 GGpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XfcH2QGe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p20si7348600otk.73.2020.01.13.06.41.44; Mon, 13 Jan 2020 06:41:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XfcH2QGe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728896AbgAMOkp (ORCPT + 99 others); Mon, 13 Jan 2020 09:40:45 -0500 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:21386 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728643AbgAMOko (ORCPT ); Mon, 13 Jan 2020 09:40:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578926444; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=VWP7TBPDC/WWtI6AhL9UEcGZAEvWSrBUOBnztnDpDig=; b=XfcH2QGewCGHgIvzzWOezXVIrTtLCRaTnxuhm+GCxJoht/2uK03rqYDZobZz4W1TnoCobg dzix4OLlS6ZNGtSbjFcjugYqqtfnAq/OV14K/7HOfP6dckkndP/ubJJffWgAmdkGqbvtny W7VHtyhnYBuneJsJNt8Uxz7qKjz6B04= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-354-hlxp6qwtO6mee55SJFtWCw-1; Mon, 13 Jan 2020 09:40:42 -0500 X-MC-Unique: hlxp6qwtO6mee55SJFtWCw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BB9F41800D48; Mon, 13 Jan 2020 14:40:40 +0000 (UTC) Received: from t480s.redhat.com (ovpn-117-201.ams2.redhat.com [10.36.117.201]) by smtp.corp.redhat.com (Postfix) with ESMTP id B277638C; Mon, 13 Jan 2020 14:40:36 +0000 (UTC) From: David Hildenbrand To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, David Hildenbrand , Andrew Morton , "Kirill A. Shutemov" , Michal Hocko , Oscar Salvador , Pavel Tatashin Subject: [PATCH v1 0/2] mm/page_alloc: memmap_init_zone() cleanups Date: Mon, 13 Jan 2020 15:40:33 +0100 Message-Id: <20200113144035.10848-1-david@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Two cleanups for "[PATCH] mm/page_alloc: Skip non present sections on zon= e initialization" [1], whereby one cleanup seems to also be a fix for a (theoretial?) kernelcore=3Dmirror case - unless I am messing something up= :) [1] https://lkml.kernel.org/r/20191230093828.24613-1-kirill.shutemov@linu= x.intel.com David Hildenbrand (2): mm/page_alloc: fix and rework pfn handling in memmap_init_zone() mm: factor out next_present_section_nr() include/linux/mmzone.h | 10 ++++++++++ mm/page_alloc.c | 20 ++++++++------------ mm/sparse.c | 10 ---------- 3 files changed, 18 insertions(+), 22 deletions(-) --=20 2.24.1