Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1400409imm; Tue, 2 Oct 2018 07:39:01 -0700 (PDT) X-Google-Smtp-Source: ACcGV61lrJbGRAMHsAF8kKocRy+vQyIRnFswtnHQS8R6fk4LjRqtSDfK35qR3GA86x3zHVOrP+RG X-Received: by 2002:a17:902:101:: with SMTP id 1-v6mr16956747plb.15.1538491141256; Tue, 02 Oct 2018 07:39:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538491141; cv=none; d=google.com; s=arc-20160816; b=Uuo/ttTWuCbR2rrS9L0Wzq80nCuuYifQaZAlOnOCvMWVzhQJ9lo98cyZAmBsAofZSQ Ka/qe1/0Hdj7Ad5l1OuG8hNzsLz8b0zrxV9rKQM33+YjkhHxpL9eYbtbPEO9LImRB6wr /sLEba/x8J5L/JvZUbBfY/LEjNFBH8BdU9Ym3WJTfB5XkdtyXtc7yH1Hs3uJ/gUR8UWl 8JZoPdDcGGl/2XDJ3Cz3NgAW6IcfgoxYkBlQPc6GhlTFu+64tYDlJgiFl++qSCuDGUPG SfOYkws9i76CjdpakE0Pn0lvgYrKUzFhNpOP7ErmqACAI6HfsO5aOj6bu1v1bjB3zRBP 16Tg== 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:cc:to:from :dkim-signature; bh=T6s9k4agoeLcHtSfEWyrLKGme4RCBk09rBKbno5wQSA=; b=ZvfvQGmnbtLJhII0ooyOnpFCjVPXZDBuHfVwDFlJbyI7lAimfoGLp6Iuv2opwubOq5 eDf0Q192ZTQkSjAJ9QuuuII4w0tQ9e+hqspIXbE/Wankzwz1zltRfE0Xk3N9WTNBh5vl pwNjA9dgx5C1KZFFQPPjrH2b29o05F2bKcqX1RCF+fnmw31bEndDioDdfJQqy6RE5Jp0 cla5pAb+VgIhj1tyhy3tCSzKbgtk56RpqgNIBzKxhbYdqdo18AHKuVHOoyqmb/fmwxqm XVtYdQ9tTW5DBraEo1FI5aK/+rWJ+2jcSYuz5hkQWtDZh8CBm3EkBwWge2h6YhCNBWNo FrIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=knWbFzSy; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q24-v6si15151586pgb.11.2018.10.02.07.38.46; Tue, 02 Oct 2018 07:39:01 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=knWbFzSy; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728268AbeJBVWM (ORCPT + 99 others); Tue, 2 Oct 2018 17:22:12 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:47056 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726118AbeJBVWM (ORCPT ); Tue, 2 Oct 2018 17:22:12 -0400 Received: by mail-qk1-f194.google.com with SMTP id q12-v6so1237470qkl.13 for ; Tue, 02 Oct 2018 07:38:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=T6s9k4agoeLcHtSfEWyrLKGme4RCBk09rBKbno5wQSA=; b=knWbFzSyc7AJ/dB/Sn688cl7nmgMJopQDJnwVYPjDfXCcvHS7wXr2wGHIxCVBwSFyi zGJxc79oSQAx/A8FgeyA2l7qNe/dI3wdM7SnvTo/ebdhy/ZWXM+gSk2e+btxrFmBPwSG iW7A7FlEF+WPSulNcqKJLCIM0+6Yqe80V1KW66MOhw9eDbCbE+eh7jp2FCBm4kG8Afa2 HwuevXEF1dxWlrXW86zecwahMDB865lcnoZMosOhvorDpIow3ghAk2QSYB8hoGo8/C3z viEi2vjYiDrjEMFdd1K7q9Y/c2cn9uT5FPF0uED9C7BsEIszBIXtB9k/SmK6Nf6AsPm+ WdUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=T6s9k4agoeLcHtSfEWyrLKGme4RCBk09rBKbno5wQSA=; b=WXY+AZPnNlK3GRyvuhmHSJHoPRbJA6zCoqX0r2RFKUq7dtDtgDKxVLoVfnYUvRYdai xEk03bX7WMVKCf00xqR0gqG14LeyALDcX73KW2IF2LKrLzIwjB4+mP3OOh1rtRmHEK8g TptUuJfZxkuRkFaV9DAZSf+Xk8zmp2MwrYVpacDD77BboO1oORysDRtfmIYJUmrxWCZp Yl89iGmvQi5CCmvi97ja6fssB9cr9GMCjfY0/2jXb1DQAEpjPNQX9LVgBFuuhN/0Qe4c gc/+FhOT56c2J9RyDBj5X5A2/IFBI/u94nb0p85EAyZ5ISc115khcPAFwoOaASugoQ96 1h0A== X-Gm-Message-State: ABuFfoivVCBEor2zMrA+CaFriRBgHmvVNVXI2Upd6WPSBdjdn4/UkHx1 c1T7nlIGaRxDIv5V4WcdFQ== X-Received: by 2002:a37:c603:: with SMTP id b3-v6mr12245932qkj.176.1538491109265; Tue, 02 Oct 2018 07:38:29 -0700 (PDT) Received: from gabell.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id y20-v6sm5257538qkb.46.2018.10.02.07.38.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Oct 2018 07:38:28 -0700 (PDT) From: Masayoshi Mizuma To: linux-mm@kvack.org, Naoya Horiguchi , Pavel Tatashin , Michal Hocko , Thomas Gleixner , Ingo Molnar Cc: Masayoshi Mizuma , linux-kernel@vger.kernel.org, x86@kernel.org Subject: [PATCH v3 0/3] mm: Fix for movable_node boot option Date: Tue, 2 Oct 2018 10:38:18 -0400 Message-Id: <20181002143821.5112-1-msys.mizuma@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series are the fix for movable_node boot option issue which was introduced by commit 124049decbb1 ("x86/e820: put !E820_TYPE_RAM regions into memblock.reserved"). The commit breaks the option because it changed the memory gap range to reserved memblock. So, the node is marked as Normal zone even if the SRAT has Hot pluggable affinity. First and second patch fix the original issue which the commit tried to fix, then revert the commit. Changelog from v2: - Change the patch order. The revert patch is moved to the last. Masayoshi Mizuma (1): Revert "x86/e820: put !E820_TYPE_RAM regions into memblock.reserved" Naoya Horiguchi (1): mm: zero remaining unavailable struct pages Pavel Tatashin (1): mm: return zero_resv_unavail optimization arch/x86/kernel/e820.c | 15 +++-------- include/linux/memblock.h | 15 ----------- mm/page_alloc.c | 54 +++++++++++++++++++++++++++------------- 3 files changed, 40 insertions(+), 44 deletions(-) -- 2.18.0