lkml.org 
[lkml]   [2012]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Do the x86 kernel entry points need an xabort on TSX cpus?
On Fri, Feb 10, 2012 at 9:18 AM, H. Peter Anvin <hpa@linux.intel.com> wrote:
> On 02/09/2012 11:40 PM, Andy Lutomirski wrote:
>>
>> [...]
>>
>>  - Ring transitions: SYSENTER, SYSCALL, SYSEXIT, and SYSRET.
>>
>> I suspect that many bits of the kernel expect that things they do
>> won't unhappen.  For example, it could be fun to do:
>>
>
> That's why entering the kernel will cause an abort.  In other words, you
> will ALWAYS abort when you do a read(), and you will never reach your
> _xabort().

Is that architecturally guaranteed? (My manual suggests that it's
specifically *not* guaranteed, which is surprising.)

--Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2012-02-10 18:27    [W:0.043 / U:1.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site