From patchwork Tue Sep 25 20:19:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Duyck X-Patchwork-Id: 10614781 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 15F59913 for ; Tue, 25 Sep 2018 20:19:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 087182AD55 for ; Tue, 25 Sep 2018 20:19:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F09132AD5B; Tue, 25 Sep 2018 20:19:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 936462AD55 for ; Tue, 25 Sep 2018 20:19:19 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AACDC8E00BB; Tue, 25 Sep 2018 16:19:18 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id A31FC8E00A4; Tue, 25 Sep 2018 16:19:18 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8D5C58E00BB; Tue, 25 Sep 2018 16:19:18 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by kanga.kvack.org (Postfix) with ESMTP id 4582E8E00A4 for ; Tue, 25 Sep 2018 16:19:18 -0400 (EDT) Received: by mail-pf1-f200.google.com with SMTP id j15-v6so13108847pff.12 for ; Tue, 25 Sep 2018 13:19:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:subject:from :to:cc:date:message-id:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=Tb8udKRBxLygqYHpLg+w+EDOcH2OiGwPljwi6ffZtBA=; b=C3Yps+0ffY6W6MQ5A7jJvVCL0DgJdpylf24CNJy03IiPPFMlAWMORjBcUV/r23yiYo U9SfrXEBlnqnl+j0wFBB5q/JfLZfWIfp0vh+bdHNqInRl7SDLpp0bnwg68iKwRiDrHiT tI6Ge4sj9pEY7uegDtRxnByTz4YeBCzr52E2ZVuPj7tiGzXjVlN0gA2bXHxybSSnKSsL 8DJVyjHQYFsWgWBq+erx59oDJJgGNNjPJYPk292X/ZuKqW70Os7Gkz/dV9fHYUcs04VI x+xr/5vNgi3PenA92711ici0bmMrFXHUOsAyW9AuPq7eYIDwUHs1zVIWv1vdkWCX1L5e gx8w== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of alexander.h.duyck@linux.intel.com designates 192.55.52.115 as permitted sender) smtp.mailfrom=alexander.h.duyck@linux.intel.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Gm-Message-State: ABuFfohjPlhUSJLSsOzZNaOg+LS3vlQ4790/gMsZ+F/N4n9QFIU1vnUN 4pJjDcIhZuQtiAZqaKbK0O+vduOUYdfL7ODxYkvvEvaMPH9OW9sMB1wYA61Mc23QdWfmXeIWHAa 4JVXn3DF9jQZinCy3WyihpWpKxNXzOvOV3TcstqaB1a9JZIFD5EaKNt1URreafshNGw== X-Received: by 2002:a63:65c7:: with SMTP id z190-v6mr2535248pgb.146.1537906757938; Tue, 25 Sep 2018 13:19:17 -0700 (PDT) X-Google-Smtp-Source: ACcGV60g4VG9qQGImW+2HLwFeUJlXYwsW6o0WsiuEH+ofcV1HXI3mafAqgCDGBaokvxzgd2mUMZH X-Received: by 2002:a63:65c7:: with SMTP id z190-v6mr2535211pgb.146.1537906757140; Tue, 25 Sep 2018 13:19:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537906757; cv=none; d=google.com; s=arc-20160816; b=ywWFUupMuD2PTPLKSDVk5Rb004QzXIfgIwgeIJBlqDLK9g+4wRXpDBNiBgF898/FVD hoARRu7r1x2FIQ0sRRnb7L9uEHqEv5hD1VOTYZlKYmpIyGYZ4Mh3YdGFfBIY+s3tZNMX ZgHs+b5vmiQbZNfINcoAMnWE0sVnADkQie/9DWm+U8XSTezQVeHS5eGgv12miYJv1Lct fz4Vo6O35qtP35iGJq53/ERw4KqifEAzk3BewwHkgrFBFNL+LOiPYDUTDFZuzh27GPJY ksnLdIcB3H7yVFcdgh284Vq7L0TkA1ovRQGpfQr0NiuWxLN6NbXDbu8hvRzrcZd1btEl HGkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:message-id:date:cc:to:from:subject; bh=Tb8udKRBxLygqYHpLg+w+EDOcH2OiGwPljwi6ffZtBA=; b=f/9X3C1Npf077kozwnxtLboGe4DHxa/HqnOZZZZuWQh93Z9mDg8siLJGvyAycd+0+0 Q3uAJvmuJH18HuLksOh/jjwTvWaUpAU8ilQw0fdaCEX2W9i02qiSjkPsQUSke37DzH+b fV1wCXUu5G4H+XRtSDZSXyjgsfuWVtDt9Eoxtmtw1yNSi0qYPEWbDKe3N2dd8H/nkGSJ M/kNAGMygKb2qHU8gvFh+rFOqSYnS0QBb2yNjf3aOU/5nsSlC7rjOAcyvrWP6DeTgEB8 Cir5HHCfvRMj0owXEh0gWi0SrlA16cmk+uEOjbAiUPo/TQkuwiqL7BujZnZyCvP0ahF1 5a9g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of alexander.h.duyck@linux.intel.com designates 192.55.52.115 as permitted sender) smtp.mailfrom=alexander.h.duyck@linux.intel.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from mga14.intel.com (mga14.intel.com. [192.55.52.115]) by mx.google.com with ESMTPS id s21-v6si3300561pgm.651.2018.09.25.13.19.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Sep 2018 13:19:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of alexander.h.duyck@linux.intel.com designates 192.55.52.115 as permitted sender) client-ip=192.55.52.115; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of alexander.h.duyck@linux.intel.com designates 192.55.52.115 as permitted sender) smtp.mailfrom=alexander.h.duyck@linux.intel.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.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 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Mike Rapoport --- 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