>>>>> On Mon, 18 Apr 2005 14:20:21 -0700, Jun Sun <jsun@xxxxxxxxxx> said: jsun> fpu_emulator maintains global variables and in general is jsun> dangerous to be preempted in the middle of processing. jsun> The quick fix for this problem is probably to move preemption jsun> disabling/ enabling inside fpu_emulator_cop1Handler(). Also, get_user/put_user should not be used with preempt disabled. Here is Quick and dirty workaround (including some other preemption fixes): http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20041025.003619.92586674.anemo%40mba.ocn.ne.jp jsun> Better fix is probably to modify fpu emulator so that it is jsun> preemption safe overall. Sure. It will make fpu emulator SMP safe also. --- Atsushi Nemoto