From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 11 Feb 2019 18:39:52 -0800 From: Matthew Wilcox Subject: Re: [RFC PATCH v4 01/12] __wr_after_init: Core and default arch Message-ID: <20190212023952.GK12668@bombadil.infradead.org> References: <9d03ef9d09446da2dd92c357aa39af6cd071d7c4.1549927666.git.igor.stoppa@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9d03ef9d09446da2dd92c357aa39af6cd071d7c4.1549927666.git.igor.stoppa@huawei.com> To: Igor Stoppa Cc: Igor Stoppa , Andy Lutomirski , Nadav Amit , Peter Zijlstra , Kees Cook , Dave Hansen , Mimi Zohar , Thiago Jung Bauermann , Ahmed Soliman , linux-integrity@vger.kernel.org, kernel-hardening@lists.openwall.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: On Tue, Feb 12, 2019 at 01:27:38AM +0200, Igor Stoppa wrote: > +#ifndef CONFIG_PRMEM [...] > +#else > + > +#include It's a mistake to do conditional includes like this. That way you see include loops with some configs and not others. Our headers are already so messy, better to just include mm.h unconditionally.