Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2094344ybi; Sun, 16 Jun 2019 21:39:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqyx6A07V+Fs9cvFs1zv3TkXPGivnLF/IMIDqpKM+G/Jw/Gb+kufgiD6DZmEKogQsdKxActB X-Received: by 2002:a17:90a:aa0d:: with SMTP id k13mr22942966pjq.53.1560746349071; Sun, 16 Jun 2019 21:39:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560746349; cv=none; d=google.com; s=arc-20160816; b=qKCTMgzM4p2ZMFXVIJLQluB4ZBkaoUK3/z2FKWkwI5ZkKUC4dD/v662DOQ3YClkLXd SlE6y9rNpD2Z+9Nh46YGj/ZgPhv/91cvOFSrM6FGHXe+vhTi1yCczEnRXmAtTmHZYMYJ T5nJiNVrmR9x1+7DDYVRXDA1cwekUW8TyZ7xcCc1f/iKtILDBUAr97WE18KeQOOrBD13 o6efmOAZGcNBIVTU9gRwAzx2DlpXCy309eSU+9ZLkEzoUR7qtAsZFw3BscPOqxxn0s5m aEPs1CPAE3FGFsfOVWPADSm5OgFT7lI9eqbKRDy8AU4YsvT1a2g3P/oeatKomdv9ew4U VgsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:date:subject:cc:to:from; bh=WSS1FEP37Kte2pRR388DKHXWBjbnavnMHYRtwqciyFc=; b=PQKMUhvjIvFvIzID7IlzhKqrBMLfqtsus09B7Z3jy+NyObgBsXWehXtqXrakhXXTdN Zl6Tth0ywsxqh643o5gJ8OUCME76YobyCJRRVf2k9+T3G+oAzeqnRUwov510sH5bV5VL vX6udQuD8FKvI2eptCPr5vN4HqzCsVP6XMQ52BpGuB9XGrerEVWi5y4Nyzm58l1oK+lz rnLjWkhFz0EdTJUilaYCyinLP+N7jX6vJ06s7nwbFCNaqS/5XEREjVoWZbez9jIaWtFB g1lep0ZT3VbvD47Ep6jhWQnOisNb+j+kq2vh8LEisckSB4Aw1C6qhsxwUKzFALFub2Qi mzgQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i11si9323291pfa.240.2019.06.16.21.38.53; Sun, 16 Jun 2019 21:39:09 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726243AbfFQEiZ (ORCPT + 99 others); Mon, 17 Jun 2019 00:38:25 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:34748 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726043AbfFQEiV (ORCPT ); Mon, 17 Jun 2019 00:38:21 -0400 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5H4cFYm048677 for ; Mon, 17 Jun 2019 00:38:20 -0400 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0b-001b2d01.pphosted.com with ESMTP id 2t63k6gq3k-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 17 Jun 2019 00:38:18 -0400 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 17 Jun 2019 05:38:01 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 17 Jun 2019 05:37:55 +0100 Received: from d06av24.portsmouth.uk.ibm.com (mk.ibm.com [9.149.105.60]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x5H4bsib51904688 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 17 Jun 2019 04:37:54 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 82EFE42041; Mon, 17 Jun 2019 04:37:54 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 307084204B; Mon, 17 Jun 2019 04:37:54 +0000 (GMT) Received: from ozlabs.au.ibm.com (unknown [9.192.253.14]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 17 Jun 2019 04:37:54 +0000 (GMT) Received: from adsilva.ozlabs.ibm.com (haven.au.ibm.com [9.192.254.114]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.au.ibm.com (Postfix) with ESMTPSA id DEDC7A0208; Mon, 17 Jun 2019 14:37:50 +1000 (AEST) From: "Alastair D'Silva" To: alastair@d-silva.org Cc: Andrew Morton , Oscar Salvador , David Hildenbrand , Michal Hocko , Pavel Tatashin , Wei Yang , Qian Cai , Thomas Gleixner , Ingo Molnar , Josh Poimboeuf , Konrad Rzeszutek Wilk , Peter Zijlstra , Jiri Kosina , Mukesh Ojha , Arun KS , Mike Rapoport , Baoquan He , Logan Gunthorpe , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/5] mm: Cleanup & allow modules to hotplug memory Date: Mon, 17 Jun 2019 14:36:26 +1000 X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 19061704-0016-0000-0000-00000289A7C9 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19061704-0017-0000-0000-000032E6EEDB Message-Id: <20190617043635.13201-1-alastair@au1.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-06-17_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=444 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906170042 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alastair D'Silva This series addresses some minor issues found when developing a persistent memory driver. As well as cleanup code, it also exports try_online_node so that it can be called from driver modules that provide access to additional physical memory. Alastair D'Silva (5): mm: Trigger bug on if a section is not found in __section_nr mm: don't hide potentially null memmap pointer in sparse_remove_one_section mm: Don't manually decrement num_poisoned_pages mm/hotplug: Avoid RCU stalls when removing large amounts of memory mm/hotplug: export try_online_node include/linux/memory_hotplug.h | 4 ++-- kernel/cpu.c | 2 +- mm/memory_hotplug.c | 23 ++++++++++++++++++----- mm/sparse.c | 28 +++++++++++++++++----------- 4 files changed, 38 insertions(+), 19 deletions(-) -- 2.21.0