Date: Wed, 7 May 2003 17:05:00 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/amd64/amd64 exception.S Message-ID: <200305080005.h480500U081869@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2003/05/07 17:05:00 PDT
FreeBSD src repository
Modified files:
sys/amd64/amd64 exception.S
Log:
Fix a preemption race. I was reenabling interrupts in the fast system
call handler before it was safe. It was possible for to lose context
and for something else to clobber the PCPU scratch variable. This
moves the interrupt enable *way* too late, but its better safe than
sorry for the moment.
Revision Changes Path
1.106 +1 -1 src/sys/amd64/amd64/exception.S
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305080005.h480500U081869>
