lkml.org 
[lkml]   [1999]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[patch] fastcall-2.3.32-B7, SYSENTER/SYSEXIT support

there were two bugs in B6, the stack frame got shifted which resulted in
corrupted registers, plus 'cld' has to be done after saving user-space
flags. (tested patch against 2.3.32-pre2 attached) With these fixed it
works just fine with Artur's LD_PRELOAD library:

int $80:

moon:~/ldp> ./lat_syscall null
Simple syscall: 0.2817 microseconds

fastcall:

moon:~/ldp> ./lat_syscall null
Simple syscall: 0.5450 microseconds

-- mingo
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.141 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site