Peter Holm cdea31e305 Move cpu_set_upcall(newtd, td) up before the first call of
thread_free(newtd).  This to avoid a possible page fault in
cpu_thread_clean() as seen on amd64 with syscall fuzzing.

Reviewed by:	kib
MFC after:	1 week
2011-12-09 17:19:41 +00:00
..
2011-11-11 04:13:47 +00:00
2011-12-05 10:34:52 +00:00
2011-04-13 11:28:46 +00:00
2011-11-06 08:10:41 +00:00
2011-07-10 00:53:04 +00:00