[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180915164731.3zrdxijuwkgdi25p@shbuild888>
Date: Sun, 16 Sep 2018 00:47:31 +0800
From: Feng Tang <feng.tang@...el.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Michal Hocko <mhocko@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
linux-kernel@...r.kernel.org, x86@...nel.org,
Ingo Molnar <mingo@...e.hu>,
"H . Peter Anvin" <hpa@...ux.intel.com>,
Yinghai Lu <yinghai@...nel.org>,
Dave Hansen <dave.hansen@...el.com>,
Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH] x86, mm: Reserver some memory for bootmem allocator for
NO_BOOTMEM
Hi Thomas,
On Sat, Sep 15, 2018 at 12:29:50PM +0200, Thomas Gleixner wrote:
> On Tue, 11 Sep 2018, Feng Tang wrote:
> > Thanks for the suggestion, and I have 2 patches: one adds a build warning,
> > the other prepares fixmap page table on demand and doesn't need warning.
>
> The latter please.
Okay.
>
> > But I met a problem, that the "__end_of_permanent_fixed_addresses" is
> > defined in fixmap.h, which is protected by #ifndef __ASSEMBLY__, also
> > fixmap.h reference many other header file, which makes it harder to
> > extract the definition out. Any suggestion on this? thanks!
>
> What prevents you from moving the enum out of the __ASSEMBLY__ protected
> section aside of a bit of careful work?
I have tried to change some header files incluing fixmap.h/apicdef.h/
vsyscall.h, and most of the .c files compile fine now, but I can not
use the "__end_of_permanent_fixed_addresses" in head_64.S as it is a
enum type, and could not be recognized by assembly code.
Thanks,
Feng
>
> Thanks,
>
> tglx
Powered by blists - more mailing lists