[haiku-bugs] [Haiku] #5202: implement the optimized syscall instructions for AMD CPUs

  • From: "mmadia" <trac@xxxxxxxxxxxx>
  • Date: Tue, 05 Jan 2010 17:07:19 -0000

#5202: implement the optimized syscall instructions for AMD CPUs
---------------------------+------------------------------------------------
 Reporter:  mmadia         |       Owner:  axeld      
     Type:  enhancement    |      Status:  new        
 Priority:  normal         |   Milestone:  Unscheduled
Component:  System/Kernel  |     Version:  R1/alpha1  
 Keywords:                 |   Blockedby:             
 Platform:  All            |    Blocking:             
---------------------------+------------------------------------------------
 Mentioned in this [//www.freelists.org/post/haiku-
 commits/r34888-haikutrunksrcsystemkernelvm,6 mailing list thread],

 {{{
 > >PS: In case someone is looking for a (small) challenge: We still don't
 use
 > >the optimized syscall instructions for AMD CPUs.
 >
 > AMDs can't use sysenter/sysexit?

 At least older models don't support those. No idea whether they've added
 it
 in newer ones. Though I suspect they wouldn't have done that, since they
 have their own instructions (syscall/sysret), which are quite similar. You
 should find a "initial_commpage_syscall():..." line in the syslog, telling
 you what mechanism the kernel has decided to use.
 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5202>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: