Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4211321imm; Tue, 25 Sep 2018 13:19:40 -0700 (PDT) X-Google-Smtp-Source: ACcGV61V4w+rKnqiABQFWBc51f4UKOxucnXSDMaTIC3UliPCUPMvqtYpgjVYCkPauqUjTZ/5zNAQ X-Received: by 2002:a17:902:599d:: with SMTP id p29-v6mr2729707pli.74.1537906779964; Tue, 25 Sep 2018 13:19:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537906779; cv=none; d=google.com; s=arc-20160816; b=Y6cEAN8HaB8tCnkGqtmEBnOdiadZPHdBa7LmJ/YwAIbhM6rkn4hQLCWZOLJ5lJjJ5a Yjw3RDsTA96j3wNqF1iENUiWvIxO7xQRNwq4mtjHEpbWcJ9j1U4fjCw/5HvKQRhN2924 7d3bgyNBNaCoESIcm7ln0I9PHQk6GJ33po0t0tXimKwczc2yZVWF6eYl7thHWbgfZ2PF 58TKYuTGU+m6mljvhQoEHPZlqDUl/V70NtzvQysHGs+Tq7EOLP6evvXVy3QUCGgXLiJI iYsqs7emuG8rF9DeIpjHAxmkkDJAP4nadhNVhyAA4vTtRTvcnO66G0gwWky8Z5yiPA40 6RYg== 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 :user-agent:references:in-reply-to:message-id:date:cc:to:from :subject; bh=Tb8udKRBxLygqYHpLg+w+EDOcH2OiGwPljwi6ffZtBA=; b=jYoJ9Bg2AvTiHHglYxLGSNwwVmUK8wrEkKIcBIgeeUgawmHOoHVQncPIzFdP0bSXs6 uG+g8OWPl/G2RJbShurJOKf7Sv7sfnYCOxLvNFkLAkxx5bJOTDAcJTvH4PZw5d4XChmD yhd9vDaf/eTxpo52YOMfK1ZnsGE+5k1KwvFvPtenTD5VSwjtVjNBNG9UbFVINCfmChLQ SSNx0SVGgQluV4t+C3jmAC6rvpttNINXL9o5TRS7T0LNTcLtZoLf4K0fg+Eb7btoM687 JLJbChahMCfJJpvgUrF5HzQCfJLb9pQcn7cmlITFp4rXQ7MbfF7lHbSOvtvUbYqDwO4V v/yw== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 23-v6si3037462pgs.356.2018.09.25.13.19.24; Tue, 25 Sep 2018 13:19:39 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726361AbeIZC2c (ORCPT + 99 others); Tue, 25 Sep 2018 22:28:32 -0400 Received: from mga18.intel.com ([134.134.136.126]:6617 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726086AbeIZC2c (ORCPT ); Tue, 25 Sep 2018 22:28:32 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Sep 2018 13:19:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,303,1534834800"; d="scan'208";a="77230044" Received: from ahduyck-mobl.amr.corp.intel.com (HELO localhost.localdomain) ([10.7.198.152]) by orsmga006.jf.intel.com with ESMTP; 25 Sep 2018 13:19:15 -0700 Subject: [PATCH v5 1/4] mm: Remove now defunct NO_BOOTMEM from depends list for deferred init From: Alexander Duyck To: linux-mm@kvack.org, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org Cc: pavel.tatashin@microsoft.com, mhocko@suse.com, dave.jiang@intel.com, dave.hansen@intel.com, jglisse@redhat.com, rppt@linux.vnet.ibm.com, dan.j.williams@intel.com, logang@deltatee.com, mingo@kernel.org, kirill.shutemov@linux.intel.com Date: Tue, 25 Sep 2018 13:19:15 -0700 Message-ID: <20180925201814.3576.15105.stgit@localhost.localdomain> In-Reply-To: <20180925200551.3576.18755.stgit@localhost.localdomain> References: <20180925200551.3576.18755.stgit@localhost.localdomain> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The CONFIG_NO_BOOTMEM config option was recently removed by the patch "mm: remove CONFIG_NO_BOOTMEM" (https://patchwork.kernel.org/patch/10600647/). However it looks like it missed a few spots. The biggest one being the dependency for deferred init. This patch goes through and removes the remaining spots that appear to have been missed in the patch so that I am able to build again with deferred memory initialization. Signed-off-by: Alexander Duyck --- v5: New patch, added to fix regression found in latest linux-next arch/csky/Kconfig | 1 - mm/Kconfig | 1 - 2 files changed, 2 deletions(-) diff --git a/arch/csky/Kconfig b/arch/csky/Kconfig index fe2c94b94fe3..fb2a0ae84dd5 100644 --- a/arch/csky/Kconfig +++ b/arch/csky/Kconfig @@ -38,7 +38,6 @@ config CSKY select HAVE_MEMBLOCK select MAY_HAVE_SPARSE_IRQ select MODULES_USE_ELF_RELA if MODULES - select NO_BOOTMEM select OF select OF_EARLY_FLATTREE select OF_RESERVED_MEM diff --git a/mm/Kconfig b/mm/Kconfig index c6a0d82af45f..b4421aa608c4 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -631,7 +631,6 @@ config MAX_STACK_SIZE_MB config DEFERRED_STRUCT_PAGE_INIT bool "Defer initialisation of struct pages to kthreads" default n - depends on NO_BOOTMEM depends on SPARSEMEM depends on !NEED_PER_CPU_KM depends on 64BIT