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

Andi Kleen
2004-09-13T14:37:23Z

Constantine Gavrilov <constg@qlusters.com> writes:

> 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.

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

Just call the appropiate sys_* function directly instead.

-Andi