Re: [PATCH v10 6/7] x86/arch_prctl: Add ARCH_[GET|SET]_CPUID
From: Andy Lutomirski
Date: Tue Mar 14 2017 - 15:24:07 EST
On Tue, Mar 14, 2017 at 12:01 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> and at least theoretically we
> could be indirecting though the ->stack pointer for every one if gcc
> can't tell it won't have changed (we really need to get thread_info
> moved into the task_struct allocation and away from the kernel stack,
> especially since on x86 the pointer is the same size as the vestigial
> structure it points to.)
Solved by use of time machine:
commit 15f4eae70d365bba26854c90b6002aaabb18c8aa
Author: Andy Lutomirski <luto@xxxxxxxxxx>
Date: Tue Sep 13 14:29:25 2016 -0700
x86: Move thread_info into task_struct
:)