From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: "H. Peter Anvin" Message-Id: <201703150911.v2F9BsT1004205@mail.zytor.com> Date: Wed, 15 Mar 2017 02:11:48 -0700 In-Reply-To: References: <20161108183956.4521-1-khuey@kylehuey.com> <20161108183956.4521-7-khuey@kylehuey.com> <30f2ec3e-d0c8-8dd2-837f-3380237d843c@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: [PATCH v10 6/7] x86/arch_prctl: Add ARCH_[GET|SET]_CPUID Sender: linux-kernel-owner@vger.kernel.org To: Andy Lutomirski Cc: Kyle Huey , Robert O'Callahan , Thomas Gleixner , Andy Lutomirski , Ingo Molnar , X86 ML , Paolo Bonzini , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , Jeff Dike , Richard Weinberger , Alexander Viro , Shuah Khan , Dave Hansen , Borislav Petkov , Peter Zijlstra , Boris Ostrovsky , Len Brown , "Rafael J. Wysocki" , Dmitry Safonov , David Matlack , "linux-kernel@vger.kernel.org" , "user-mode-linux-devel@lists.sourceforge.net" , "open list:USER-MODE LINUX (UML)" , Linux.FS.Devel@zytor.com List-ID: ,"open list:KERNEL SELFTEST FRAMEWORK" ,kvm list From: hpa@zytor.com Message-ID: On March 14, 2017 12:23:40 PM PDT, Andy Lutomirski wrote: >On Tue, Mar 14, 2017 at 12:01 PM, H. Peter Anvin 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 >Date: Tue Sep 13 14:29:25 2016 -0700 > > x86: Move thread_info into task_struct > > >:) My apologies, -ESTALEBRAINCACHE... -- Sent from my Android device with K-9 Mail. Please excuse my brevity.