John Baldwin 22d19207e9 - Move sched_fork() later in fork() after the various sections of the new
thread and proc have been copied and zeroed from the old thread and
  proc.  Otherwise attempts to modify thread or process data in sched_fork()
  could be undone.
- Don't copy td_{base,}_user_pri from the old thread to the new thread in
  sched_fork_thread() in ULE.  This is already done courtesy the bcopy()
  of the thread copy region.
- Always initialize the real priority (td_priority) of new threads to the
  new thread's base priority (td_base_pri) to avoid bogusly inheriting a
  borrowed priority from the parent thread.

MFC after:	2 weeks
2011-01-06 22:24:00 +00:00
..
2011-01-03 12:57:07 +00:00
2010-11-27 15:41:44 +00:00
2010-07-12 10:18:10 +00:00
2011-01-06 21:04:00 +00:00
2011-01-02 15:06:07 +00:00
2010-11-09 10:59:09 +00:00
2010-12-05 10:15:23 +00:00