Received: by 10.223.176.5 with SMTP id f5csp1882738wra; Wed, 31 Jan 2018 13:04:23 -0800 (PST) X-Google-Smtp-Source: AH8x225FHD0aT04yVWPNHTXG9iWhhH7i+IRqcD4aKeR/YYpZASTaGmqPHVHr+xDKmlk34i1EOisq X-Received: by 10.101.96.6 with SMTP id m6mr19050770pgu.131.1517432663747; Wed, 31 Jan 2018 13:04:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517432663; cv=none; d=google.com; s=arc-20160816; b=q3L4JrAomRiQgmC2Ks/cqfmcx+QhfCUftE8rrgNSUDkv5OMJNQuOO9/0vMhq66lrR+ kxIbEHdDFX1SJjyQw7puR9fvLkXuMlh2yJpSJ86iCxGRYJOrv8/axVqw0MmQYTjCtmGF 21Gx7LaGu5CFdYKBYdwLbsoAE6HCfK5E4TNJk8mEP50kMiU5rbX3xSOkCkEwUKJpEplU mBF2DXXVcHCm2rFcNyoIxQdl6BOJB95UIcM+QMlueM+2XcMcp1S8KVTTVMWH92l0r+pu REB4wr/zB6knnuwqXIjLtO3Y9fsY79HQ+wfHIpaY21KJHjPKycG/WW4gS7EKQNnq29uc RxUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:to:from :dkim-signature:arc-authentication-results; bh=yaVrm4sOn1PJWrbF7SDVj44fWILMpGqq3/RMO6mDSC4=; b=WmBkp5OhDd6fYfWV7kfU2DDErkcCYFg3quN3VKKH9rosZOPpdhOlMFy8uxif/naVg4 YQ+kfftcA27HrYAoyHvOSSRyIuyTC82QWlM+niMvoQQfjs6hB1xhNe2t3vW2DtHVl6vJ pHL39tWU26rrctQ0AxcdpcnQxCakAmULk8lmbzWIQ61mwtxOBBIHKE8mISJ3gTrjYJHQ yeVI+v0qFrgsgx1EssUYNryfZ9DzEJjXzSdCNJDWHBXO6gFWGBsOQ2tXcKCs3EqYfpou 1BaujDrtvRXTcNtOD0ANwAyOYQ3HCgGw0I9H6aFP/UHAvFh8H3qB9aVxPA/nqHqILHkW Zn8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=Y/hEfz6a; 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=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d8si107076pfl.79.2018.01.31.13.04.09; Wed, 31 Jan 2018 13:04:23 -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=@oracle.com header.s=corp-2017-10-26 header.b=Y/hEfz6a; 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752782AbeAaVDj (ORCPT + 99 others); Wed, 31 Jan 2018 16:03:39 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:58518 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751886AbeAaVDg (ORCPT ); Wed, 31 Jan 2018 16:03:36 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w0VL3MWh042541; Wed, 31 Jan 2018 21:03:22 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id; s=corp-2017-10-26; bh=yaVrm4sOn1PJWrbF7SDVj44fWILMpGqq3/RMO6mDSC4=; b=Y/hEfz6aGMzy312yTJqqRULU5MlpcISbZz/Oxk9nkfpgKgvwtHGTgo4yQWTr0diSxoca XALywSWbLR+d1wBOj5N4G7KBySjOw6atiuoCzQXYb5KS7A5kKOoI3bJ1cJ1pRLzH6g6c Lzs0p3BwMHWgiYeiFYM/MdqtB572miBjdpKyd6H6H7QjQZ1cN52BW32guHPjPajsLLWC BvR77OLcJq3w5iMvhHMLe64/KHhBe8zGFNJ5o+OYbLdVKIv4PvXVSqRDAlvzsazrPnzu LaWkGBStfvzcW93dqfJbc3WpGDQtYN2hT/xi3m8vJyBIfUW5fwpXa2zBn7f6O9lYr8xi mg== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2120.oracle.com with ESMTP id 2fucd9jyr1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 31 Jan 2018 21:03:22 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w0VL3MDC017170 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 31 Jan 2018 21:03:22 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w0VL3KhM032553; Wed, 31 Jan 2018 21:03:20 GMT Received: from localhost.localdomain (/98.216.35.41) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 31 Jan 2018 13:03:20 -0800 From: Pavel Tatashin To: steven.sistare@oracle.com, daniel.m.jordan@oracle.com, akpm@linux-foundation.org, mgorman@techsingularity.net, mhocko@suse.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, vbabka@suse.cz, bharata@linux.vnet.ibm.com Subject: [PATCH v2 0/2] optimize memory hotplug Date: Wed, 31 Jan 2018 16:02:58 -0500 Message-Id: <20180131210300.22963-1-pasha.tatashin@oracle.com> X-Mailer: git-send-email 2.16.1 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8791 signatures=668659 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=377 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1801310262 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changelog: v1 - v2 Added struct page poisoning checking in order to verify that struct pages are never accessed until initialized during memory hotplug Pavel Tatashin (2): mm: uninitialized struct page poisoning sanity checking mm, memory_hotplug: optimize memory hotplug drivers/base/memory.c | 38 +++++++++++++++++++++----------------- drivers/base/node.c | 17 ++++++++++------- include/linux/memory_hotplug.h | 2 ++ include/linux/mm.h | 4 +++- include/linux/node.h | 4 ++-- include/linux/page-flags.h | 22 +++++++++++++++++----- mm/memblock.c | 2 +- mm/memory_hotplug.c | 21 ++------------------- mm/page_alloc.c | 28 ++++++++++------------------ mm/sparse.c | 29 ++++++++++++++++++++++++++--- 10 files changed, 94 insertions(+), 73 deletions(-) -- 2.16.1