Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2443507pxj; Mon, 10 May 2021 03:09:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7yYB8QCs4BpXWZlKs4HqXgQ1oW9w44xw6PFvxZ91+lr/WyWBud3C2/cDk7gsZ0DeWuLVa X-Received: by 2002:a17:906:3544:: with SMTP id s4mr25318871eja.73.1620641390109; Mon, 10 May 2021 03:09:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620641390; cv=none; d=google.com; s=arc-20160816; b=OFEDOwsKqMXl9n268MDfWP1puLyKbI6BSq7kN87wAMrTuRPrrCGoDQtPtC8QqqI0ql X/fGD2d5ex8cOKGZYOjnmPG1ubXqqp4sZ3zb2UwR6u/Rm/cqdEk3RNYb5Ddf/FTOHmBi BJuNqxUeF0Fy9zLSTzkIR4RBe+l+dVxFBqGdoKGfXoNp3LvvX8+H4PX8YWSTWCzhVxwA 3NdBW1demHm1p+PUngE8KtoRauwpPdmtH9WTe6n5YDr+Ya8QMbI3RXF7gAaHXDONbBcH LyYsJjJ238cdQM9Ojeju9jnzrZFIkB0irHamu5Dt6jsFCMUr7LPMtl2aB5geQIhPdbsa xM1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=BhYTG/mlnzJhPiw+ScLy8IzC+zRQ+hBIO5x1Lo+4kzc=; b=S2/XQdFfzRwtwq0X1uw+TEore/C9yW+S+rbg2cjkJVup5b2E05jBR8XZubqPNUkBqR AzN7vT4LuCcG4xlaYKi7miKXf5GXwgGoZD0JqFoemfhiMUfyd/GB7hdZBoK4GZVGAYcS XfdCqS6UBmgDxn4kVvDQH1PNOspSEBTbb9phYPgySee+u+ILXFGfgcVyvdqsc1Leo3nd EJzjZ3v5ZyGSkjGfYLLvgU5aGE4PjYTtxlynqVK6Vy7G0MT2pj97gRLDrTd/tUfuhU5j D7ePe8AtV+rorIchE9DyuxjyER5RsxGtG6dWggA62syiklzVXguQR3BGVUZBZGSYufdR 5usQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n24si12779931eds.571.2021.05.10.03.09.25; Mon, 10 May 2021 03:09:50 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230166AbhEJKJZ (ORCPT + 99 others); Mon, 10 May 2021 06:09:25 -0400 Received: from mx2.suse.de ([195.135.220.15]:51522 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230002AbhEJKJZ (ORCPT ); Mon, 10 May 2021 06:09:25 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id A9CFCB034; Mon, 10 May 2021 10:08:19 +0000 (UTC) Date: Mon, 10 May 2021 12:08:14 +0200 From: Oscar Salvador To: Muchun Song Cc: corbet@lwn.net, mike.kravetz@oracle.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, x86@kernel.org, hpa@zytor.com, dave.hansen@linux.intel.com, luto@kernel.org, peterz@infradead.org, viro@zeniv.linux.org.uk, akpm@linux-foundation.org, paulmck@kernel.org, pawan.kumar.gupta@linux.intel.com, rdunlap@infradead.org, oneukum@suse.com, anshuman.khandual@arm.com, jroedel@suse.de, almasrymina@google.com, rientjes@google.com, willy@infradead.org, mhocko@suse.com, song.bao.hua@hisilicon.com, david@redhat.com, naoya.horiguchi@nec.com, joao.m.martins@oracle.com, duanxiongchun@bytedance.com, fam.zheng@bytedance.com, zhengqi.arch@bytedance.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v23 8/9] mm: memory_hotplug: disable memmap_on_memory when hugetlb_free_vmemmap enabled Message-ID: <20210510100809.GA22664@linux> References: <20210510030027.56044-1-songmuchun@bytedance.com> <20210510030027.56044-9-songmuchun@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210510030027.56044-9-songmuchun@bytedance.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 10, 2021 at 11:00:26AM +0800, Muchun Song wrote: > diff --git a/drivers/acpi/acpi_memhotplug.c b/drivers/acpi/acpi_memhotplug.c > index 8cc195c4c861..0d7f595ee441 100644 > --- a/drivers/acpi/acpi_memhotplug.c > +++ b/drivers/acpi/acpi_memhotplug.c > @@ -15,6 +15,7 @@ > #include > #include > #include > +#include > > #include "internal.h" Uhm, I am confused. Why do we need this here? AFAICS, we do not. The function is in memory_hotplug.c, and that alrady has that include. What am I missing? -- Oscar Salvador SUSE L3