[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <dbc0ad82-28dc-a7c5-8973-4ddae671a2ae@intel.com>
Date: Fri, 21 Oct 2022 17:56:02 -0700
From: Dave Hansen <dave.hansen@...el.com>
To: Hillf Danton <hdanton@...a.com>,
tip-bot2 for Peter Zijlstra <tip-bot2@...utronix.de>
Cc: Seth Jenkins <sethjenkins@...gle.com>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Kees Cook <keescook@...omium.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [tip: x86/mm] x86/mm: Randomize per-cpu entry area
On 10/21/22 17:00, Hillf Danton wrote:
>> -#define CPU_ENTRY_AREA_MAP_SIZE (CPU_ENTRY_AREA_PER_CPU + CPU_ENTRY_AREA_ARRAY_SIZE - CPU_ENTRY_AREA_BASE)
>> +#ifdef CONFIG_X86_32
>> +#define CPU_ENTRY_AREA_MAP_SIZE (CPU_ENTRY_AREA_PER_CPU + \
>> + (CPU_ENTRY_AREA_SIZE * NR_CPUS) - \
>> + CPU_ENTRY_AREA_BASE
> My vi editor finds un-paired bracket here.
> Feel free to ignore it if nothing hurt.
Thanks for finding that! Looks like Peter and I need to dust off our
32-bit .configs!
I just fixed the issue and pushed a new commit out to tip/x86/mm.
Powered by blists - more mailing lists