|
Message-ID: <20190212023952.GK12668@bombadil.infradead.org> Date: Mon, 11 Feb 2019 18:39:52 -0800 From: Matthew Wilcox <willy@...radead.org> To: Igor Stoppa <igor.stoppa@...il.com> Cc: Igor Stoppa <igor.stoppa@...wei.com>, Andy Lutomirski <luto@...capital.net>, Nadav Amit <nadav.amit@...il.com>, Peter Zijlstra <peterz@...radead.org>, Kees Cook <keescook@...omium.org>, Dave Hansen <dave.hansen@...ux.intel.com>, Mimi Zohar <zohar@...ux.vnet.ibm.com>, Thiago Jung Bauermann <bauerman@...ux.ibm.com>, Ahmed Soliman <ahmedsoliman@...a.vt.edu>, linux-integrity@...r.kernel.org, kernel-hardening@...ts.openwall.com, linux-mm@...ck.org, linux-kernel@...r.kernel.org Subject: Re: [RFC PATCH v4 01/12] __wr_after_init: Core and default arch On Tue, Feb 12, 2019 at 01:27:38AM +0200, Igor Stoppa wrote: > +#ifndef CONFIG_PRMEM [...] > +#else > + > +#include <linux/mm.h> 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.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.