lkml.org 
[lkml]   [2015]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/4] x86: get rid of KERNEL_STACK_OFFSET

* Andy Lutomirski <luto@amacapital.net> wrote:

> >> I added that in and applied this patch.
> >
> > So this is not just slightly buggy, it's fundamentally
> > wrong as well as it removes the possibility of an RSP
> > value optimization from the 64-bit path, see my
> > previous mail.
>
> This is just trying to check that the function is
> executing on the per-thread stack. It was correct (and
> fairly heavily tested by Tony) wither KERNEL_STACK_OFFSET
> being nonzero, but we're checking the wrong page if
> KERNEL_STACK_OFFSET becomes zero.
>
> I don't think I understand your objection to this bit.

I object to the KERNEL_STACK_OFFSET removal patch you fixed
here, not to the add-on fix in particular (which is correct
in the context of that patch).

Thanks,

Ingo


\
 
 \ /
  Last update: 2015-02-26 13:21    [W:0.162 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site