CVSROOT:        /cvs
Module name:    src
Changes by:     guent...@cvs.openbsd.org        2011/07/04 09:54:24

Modified files:
        sys/arch/amd64/include: frameasm.h 
        sys/arch/amd64/amd64: locore.S machdep.c 

Log message:
Force the sigreturn syscall to return to userspace via iretq by setting
the MDP_IRET flag in md_proc, then switch sigcode to enter the kernel
via syscall instead of int$80.  Rearrange the return paths in both the
sysretq and iretq paths to reduce how long interrupts are blocked and
shave instructions.

ok kettenis@, extra testing krw@

Reply via email to