kib ef5f88c357 Get rid of struct proc p_sched and struct thread td_sched pointers.
p_sched is unused.

The struct td_sched is always co-allocated with the struct thread,
except for the thread0.  Avoid useless indirection, instead calculate
td_sched location using simple pointer arithmetic in td_get_sched(9).
For thread0, which is statically allocated, create a structure to
emulate layout of the dynamic allocation.

Reviewed by:	jhb (previous version)
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D6711
2016-06-05 17:04:03 +00:00
..
2016-03-21 21:38:35 +00:00
2015-04-22 14:38:58 +00:00
2016-02-23 23:37:10 +00:00
2015-01-22 11:12:42 +00:00
2015-11-19 05:50:22 +00:00
2016-05-04 13:48:59 +00:00
2016-03-21 21:38:35 +00:00
2016-03-21 21:38:35 +00:00
2016-04-29 22:15:33 +00:00
2015-03-17 14:16:50 +00:00
2016-04-14 17:07:26 +00:00
2016-04-29 21:54:28 +00:00