lkml.org 
[lkml]   [2018]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 03/35] x86/entry/32: Load task stack from x86_tss.sp1 in SYSENTER handler
    On Wed, Apr 18, 2018 at 4:26 PM, Andi Kleen <ak@linux.intel.com> wrote:
    >
    > Seems like a hack. Why can't that be stored in a per cpu variable?

    It *is* a percpu variable - the whole x86_tss structure is percpu.

    I guess it could be a different (separate) percpu variable, but might
    as well use the space we already have allocated.

    Linus

    \
     
     \ /
      Last update: 2018-04-19 02:02    [W:3.249 / U:0.240 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site