Calling syscalls from x86-64 kernel results in a crash on Opteron machines
A message that is not in the archive (sent off-list or not yet received): [email protected]
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
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 ----------------------------------------