From patchwork Fri Nov 5 20:35:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12605399 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0078C433F5 for ; Fri, 5 Nov 2021 20:35:32 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id A86C3611EE for ; Fri, 5 Nov 2021 20:35:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A86C3611EE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 2912B940013; Fri, 5 Nov 2021 16:35:32 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 23F32940007; Fri, 5 Nov 2021 16:35:32 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0E0AD940013; Fri, 5 Nov 2021 16:35:32 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0191.hostedemail.com [216.40.44.191]) by kanga.kvack.org (Postfix) with ESMTP id EEC2B940007 for ; Fri, 5 Nov 2021 16:35:31 -0400 (EDT) Received: from smtpin02.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id B6BDE777F4 for ; Fri, 5 Nov 2021 20:35:31 +0000 (UTC) X-FDA: 78776032062.02.F8E450A Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf28.hostedemail.com (Postfix) with ESMTP id 7126090000B4 for ; Fri, 5 Nov 2021 20:35:31 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 8C90E6125F; Fri, 5 Nov 2021 20:35:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1636144530; bh=A2CJN584gHMdu1tguBc0hQwk713kctjwbfDr8H1GB68=; h=Date:From:To:Subject:In-Reply-To:From; b=BXrM17EjaEgi1vR3sdL2nyJ/yvo4K5S7JTsM6WCaOcJgm8N/agyRJTKE6QsVuqmNF mgfKHKxs4Piqt5FIaOkx2+ziVRwYIsTL1G+PKyblK9ZlUD41rTUJtLlMTp56lbPVUZ avM+NLwQZop33L1MaGQoMmvX87PPkm1XHZdvruYQ= Date: Fri, 05 Nov 2021 13:35:30 -0700 From: Andrew Morton To: akpm@linux-foundation.org, dan.j.williams@intel.com, hch@lst.de, linux-mm@kvack.org, mm-commits@vger.kernel.org, naoya.horiguchi@nec.com, torvalds@linux-foundation.org Subject: [patch 018/262] mm: don't include in Message-ID: <20211105203530.rAInkI_6I%akpm@linux-foundation.org> In-Reply-To: <20211105133408.cccbb98b71a77d5e8430aba1@linux-foundation.org> User-Agent: s-nail v14.8.16 Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=BXrM17Ej; dmarc=none; spf=pass (imf28.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 7126090000B4 X-Stat-Signature: ybtpnpu6oms8yq61ucnb6gofjaoqnswk X-HE-Tag: 1636144531-638207 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: From: Christoph Hellwig Subject: mm: don't include in Not required at all, and having this causes a huge kernel rebuild as soon as something in dax.h changes. Link: https://lkml.kernel.org/r/20210921082253.1859794-1-hch@lst.de Signed-off-by: Christoph Hellwig Reviewed-by: Naoya Horiguchi Reviewed-by: Dan Williams Signed-off-by: Andrew Morton --- include/linux/mempolicy.h | 1 - mm/memory-failure.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) --- a/include/linux/mempolicy.h~mm-dont-include-linux-daxh-in-linux-mempolicyh +++ a/include/linux/mempolicy.h @@ -8,7 +8,6 @@ #include #include -#include #include #include #include --- a/mm/memory-failure.c~mm-dont-include-linux-daxh-in-linux-mempolicyh +++ a/mm/memory-failure.c @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include