Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2379462pxb; Tue, 9 Mar 2021 00:34:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJzCp+QiGi2mikypyEyKqtWkqN3z4V5K66AmzPSJD8kFjJ8usW7J3VwEcPrWJa0NVmuC55G6 X-Received: by 2002:a05:6402:1157:: with SMTP id g23mr2763357edw.303.1615278871144; Tue, 09 Mar 2021 00:34:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615278871; cv=none; d=google.com; s=arc-20160816; b=Upkiz6PohtbYugAEUPBEYICVpks8gQ96ySahqH2s4jMg4ycRm0q+CKBE/2V9Wj9aF5 ZT1dmeWOHxm+IBEU+HbmiuLOUMy5YqWF3lwUdc20NAANTV2/ShUnhvQy5ygPhc+lsd90 E/WfMQ40q3DRET0sSagYvBwzTKKVxb/DFYgRghj+8mcsDgvBIP1aImT7OKcaPid3jG8i SXjkwH5jXXYbR5cXoV/K8dsVM+7JfnIGelU+e7s6ecck3iIpG0FpmE/sYxsQdu/uVl05 D+thc0SA/+8Y1Wf5MrnoZZKUqnPjFG8gCeUeGnVl0n7WslA03TepSqmPuwaN2dspcDId TWdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=NMrVT+bam/s7vjrq1xZAVmez63pfrdZCBuRhB7DtWOA=; b=lRHvFNiDEIUhNfs4QXt1nLrirvkLcT2kRxGtXgMaSPk+KHivYywNyywU/9tDzUHotW lCAH+jgITKrz7D565QrsMT/MlYABa3hEkpdAYYBgRkdExgWHpmNl1cKTYHn3lKy/XGpP RQK7t20u0cHkYJhQZeLACAp10EuqFWgR6rOGUJzen970OYzxxaMdKy0ranDPCMZGYOHs IMsyZNn6l6ICJ3XMIu9d1XpDP7SglSKa/F6clsFahDtTRP8ox+BhcKnRjDOfOON1WnzE GAzdUWHLTbucz6sgvzAQfkWhyBtDE5XdJfpQbu4eUedh5yh6FshzqAKwAd1a+FJlAIx0 FA4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r6si9991659eda.292.2021.03.09.00.34.07; Tue, 09 Mar 2021 00:34:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229681AbhCIIdM (ORCPT + 99 others); Tue, 9 Mar 2021 03:33:12 -0500 Received: from foss.arm.com ([217.140.110.172]:49386 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229881AbhCIIct (ORCPT ); Tue, 9 Mar 2021 03:32:49 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 32FEED6E; Tue, 9 Mar 2021 00:32:49 -0800 (PST) Received: from p8cg001049571a15.arm.com (unknown [10.163.66.57]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id BCE853F71B; Tue, 9 Mar 2021 00:32:44 -0800 (PST) From: Anshuman Khandual To: linux-mm@kvack.org Cc: Anshuman Khandual , x86@kernel.org, linux-ia64@vger.kernel.org, linux-s390@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-sh@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/6] mm: some config cleanups Date: Tue, 9 Mar 2021 14:03:04 +0530 Message-Id: <1615278790-18053-1-git-send-email-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series contains config cleanup patches which reduces code duplication across platforms and also improves maintainability. There is no functional change intended with this series. This has been boot tested on arm64 but only build tested on some other platforms. This applies on 5.12-rc2 Cc: x86@kernel.org Cc: linux-ia64@vger.kernel.org Cc: linux-s390@vger.kernel.org Cc: linux-snps-arc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mips@vger.kernel.org Cc: linux-parisc@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-riscv@lists.infradead.org Cc: linux-sh@vger.kernel.org Cc: linux-fsdevel@vger.kernel.org Cc: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org Anshuman Khandual (6): mm: Generalize ARCH_HAS_CACHE_LINE_SIZE mm: Generalize SYS_SUPPORTS_HUGETLBFS (rename as ARCH_SUPPORTS_HUGETLBFS) mm: Generalize ARCH_ENABLE_MEMORY_[HOTPLUG|HOTREMOVE] mm: Drop redundant ARCH_ENABLE_[HUGEPAGE|THP]_MIGRATION mm: Drop redundant ARCH_ENABLE_SPLIT_PMD_PTLOCK mm: Drop redundant HAVE_ARCH_TRANSPARENT_HUGEPAGE arch/arc/Kconfig | 9 ++------ arch/arm/Kconfig | 10 ++------- arch/arm64/Kconfig | 30 ++++++-------------------- arch/ia64/Kconfig | 8 ++----- arch/mips/Kconfig | 6 +----- arch/parisc/Kconfig | 5 +---- arch/powerpc/Kconfig | 11 ++-------- arch/powerpc/platforms/Kconfig.cputype | 16 +++++--------- arch/riscv/Kconfig | 5 +---- arch/s390/Kconfig | 12 +++-------- arch/sh/Kconfig | 7 +++--- arch/sh/mm/Kconfig | 8 ------- arch/x86/Kconfig | 29 ++++++------------------- fs/Kconfig | 5 ++++- mm/Kconfig | 9 ++++++++ 15 files changed, 48 insertions(+), 122 deletions(-) -- 2.20.1