CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2009/01/20 14:22:31

Modified files:
        sys/arch/sparc64/sparc64: trap.c 

Log message:
I can't figure out why flushing all user windows before writing out windows
saved in the pcb to the stack fixes the problems with user space register
window corruption I see on sun4v.  So I give up and commit the workaround.
It isn't too evil, since this isn't in the fast path and we're likely to
spill these windows anyway in the process of writing out the register windows.
Curiously enough, the OpenSolaris code seems to do pretty much the same.

Reply via email to