Opened 9 years ago

Last modified 2 years ago

#5202 assigned enhancement

implement the optimized syscall instructions for AMD CPUs

Reported by: mmadia Owned by: nobody
Priority: low Milestone: Unscheduled
Component: System/Kernel Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Mentioned in this 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.

Change History (2)

comment:1 Changed 9 years ago by bonefish

Priority: normallow
Version: R1/alpha1R1/Development

Apparently newer AMD CPUs support the Intel mechanism (and vice versa BTW), so this concerns only a few CPUs at all.

comment:2 Changed 2 years ago by axeld

Owner: changed from axeld to nobody
Status: newassigned
Note: See TracTickets for help on using tickets.