Date: Tue, 20 Jan 2009 12:07:49 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/amd64 cpu_switch.S Message-ID: <200901201208.n0KC82HD066175@repoman.freebsd.org>
index | next in thread | raw e-mail
kib 2009-01-20 12:07:49 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 cpu_switch.S
Log:
SVN rev 187470 on 2009-01-20 12:07:49Z by kib
The context switch to the 32bit binary does not properly restore
the fsbase value. The switch loads the fs segment register, that
invalidates the value in fsbase msr, thus value in %r9 can not be
considered the current value for fsbase anymore.
Unconditionally reload fsbase when switching to 32bit binary.
PR: 130526
MFC after: 3 weeks
Revision Changes Path
1.165 +2 -1 src/sys/amd64/amd64/cpu_switch.S
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901201208.n0KC82HD066175>
