Skip to contentSkip to conversation

was the SYSENTER/SYSCALL fast system calls completed or discared in the end??

Q Andi Kleen 2 participants 3 messages Nov 22, 2001 – Nov 23, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1006184327.19902.2.camel@pc-16.office.scali.no.suse.lists.linux.kernel

Andi Kleen

author
#1 lore raw
Quoted 5 lines · Terje Eggestad

ons, 2001-11-21 kl. 22:54 skrev Pavel Machek:

Quoted 4 lines · Terje Eggestad
Quoted 2 lines

subject says it all....

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

I remember there was a discussion and a patch floating around that implemented SYSCALL/SYSRET, just want to know what happened to it....

discarded

Because there was no perf benefit or because the patch was in poor quality?

The x86-64 port uses SYSCALL/SYSRET as the native call method for 64bit programs.

Before x86-64 it turned out that SYSCALL is not really usable because of some builtin limitations (which are fixed in x86-64). This is only a problem for the K6, K7 should have support for SYSENTER/SYSEXIT (the Intel equivalent), which seems to be better designed. There is a patch to use SYSENTER/SYSEXIT.

-Andi

#2 lore raw

Cool,

do you happen top know where the patch is? On e that I can apply to stock 2.4.1x??

TJ

tor, 2001-11-22 kl. 16:26 skrev Andi Kleen:

Quoted 26 lines
Quoted 5 lines · Terje Eggestad

ons, 2001-11-21 kl. 22:54 skrev Pavel Machek:

Quoted 4 lines · Terje Eggestad
Quoted 2 lines

subject says it all....

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

I remember there was a discussion and a patch floating around that implemented SYSCALL/SYSRET, just want to know what happened to it....

discarded

Because there was no perf benefit or because the patch was in poor quality?

The x86-64 port uses SYSCALL/SYSRET as the native call method for 64bit programs.

Before x86-64 it turned out that SYSCALL is not really usable because of some builtin limitations (which are fixed in x86-64). This is only a problem for the K6, K7 should have support for SYSENTER/SYSEXIT (the Intel equivalent), which seems to be better designed. There is a patch to use SYSENTER/SYSEXIT.

-Andi

Signature · 10 lines
_________________________________________________________________________

Terje Eggestad                  [email protected]
Scali Scalable Linux Systems    http://www.scali.com

Olaf Helsets Vei 6              tel:    +47 22 62 89 61 (OFFICE)
P.O.Box 70 Bogerud                      +47 975 31 574  (MOBILE)
N-0621 Oslo                     fax:    +47 22 62 89 51
NORWAY            
_________________________________________________________________________
author
#3 lore raw
In reply to a message not in the archive
Quoted 4 lines · Terje Eggestad

Cool,

do you happen top know where the patch is? On e that I can apply to stock 2.4.1x??

x86-64 is on ftp.x86-64.org

If you mean SYSENTER/SYSEXIT IIRC there were two indepdent patches for that from Manfred Spraul and from Ingo Molnar. You have to ask them if they kept any of them uptodate.

-Andi