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

From: Andi Kleen
Date: Mon Sep 13 2004 - 09:41:51 EST


Constantine Gavrilov <constg@xxxxxxxxxxxx> 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/