lkml.org 
[lkml]   [2015]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] x86_64, asm: Work around AMD SYSRET SS descriptor attribute issue
    On 04/24/2015 01:50 PM, Andy Lutomirski wrote:
    >>
    >> Exactly my feeling. What are you trying to save? About four CPU
    >> cycles of checking %ss != __KERNEL_DS on each switch_to?
    >> That's not worth bothering about. Your last patch seems to be perfect.
    >
    > We'll have to do the write to ss almost every time an AMD CPU sleeps
    > in a syscall. Maybe that's still not a big deal.
    >

    Once you're sleeping anyway, I don't think so.

    -hpa




    \
     
     \ /
      Last update: 2015-04-25 00:01    [W:4.135 / U:0.144 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site