DragonFly BSD
DragonFly bugs List (threaded) for 2009-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: bad awk output on vkernel


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 2 Oct 2009 16:03:46 -0700 (PDT)

    Problem solved!

    The recent work on the vkernel which enabled preemptive thread
    switching introduced a race condition in go_user() between the 
    determination of the FP state and the call to vmspace_ctl().

    The FP state could wind up getting changed by a preemptive thread
    switch and result in corruption of the FP state in the virtual
    user process when vmspace_ctl() was finally called.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]