Skip to contentSkip to conversation

Calling syscalls from x86-64 kernel results in a crash on Opteron machines

DISCUSSION Andi Kleen 2 participants 2 messages Sep 13, 2004 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): [email protected]

Andi Kleen

author
#1 lore raw
Quoted 1 line · Constantine Gavrilov

Can someone explain the reason for the crash? Can you think of a

syscall/sysret don't support recursive calls. That's the price for being fast.

Quoted 1 line

workaround? Comments and ideas are very welcome (except of the kind

Just call the appropiate sys_* function directly instead.

-Andi

#2 lore raw
Quoted 11 lines · Andi Kleen
Quoted 3 lines · Constantine Gavrilov

Can someone explain the reason for the crash? Can you think of a

syscall/sysret don't support recursive calls. That's the price for being fast.

I do not think recursive calls are used here. Do I miss something?

Signature · 8 lines
----------------------------------------
Constantine Gavrilov
Kernel Developer
Qlusters Software Ltd
1 Azrieli Center, Tel-Aviv
Phone: +972-3-6081977
Fax:   +972-3-6081841
----------------------------------------