hselasky
7213d95f20
The sched_add() function is not only used when the thread is initially
...
started, but also by the turnstiles to mark a thread as runnable for
all locks, for instance sleepqueues do:
setrunnable()->sched_wakeup()->sched_add()
In r326218 code was added to allow booting from non-zero CPU numbers
by setting the ts_cpu field inside the ULE scheduler's sched_add()
function. This had an undesired side-effect that prior sched_pin() and
sched_bind() calls got disregarded. This patch fixes the
initialization of the ts_cpu field for the ULE scheduler to only
happen once when the initial thread is constructed during system
init. Forking will then later on ensure that a valid ts_cpu value gets
copied to all children.
Reviewed by: jhb, kib
Discussed with: nwhitehorn
MFC after: 1 month
Differential revision: https://reviews.freebsd.org/D13298
Sponsored by: Mellanox Technologies
2017-11-29 23:28:40 +00:00
..
2017-01-15 17:54:01 +00:00
2017-10-12 15:45:53 +00:00
2016-05-18 04:35:58 +00:00
2017-04-13 15:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-03-21 18:02:14 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-05-17 00:34:34 +00:00
2017-11-24 07:35:08 +00:00
2017-10-12 15:48:37 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 15:20:12 +00:00
2017-11-25 23:41:05 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-10-18 15:38:05 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-10-25 00:51:00 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-25 04:49:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-28 23:40:54 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-01-25 20:22:32 +00:00
2017-04-17 16:51:04 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-23 11:25:11 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-21 14:59:23 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-10-13 16:31:50 +00:00
2017-11-27 15:20:12 +00:00
2017-11-25 23:41:05 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-10-11 11:03:11 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-25 23:41:05 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2016-07-28 21:29:04 +00:00
2017-05-23 09:29:05 +00:00
2017-11-05 19:49:44 +00:00
2016-05-26 19:29:29 +00:00
2016-05-16 09:11:40 +00:00
2017-11-18 14:26:50 +00:00
2016-08-19 10:52:39 +00:00
2017-11-18 14:26:50 +00:00
2017-11-20 19:43:44 +00:00
2017-11-29 23:28:40 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-08-07 14:09:57 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-10-05 14:43:30 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-08-16 16:51:55 +00:00
2017-11-29 12:49:22 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-28 05:39:48 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2016-05-20 17:57:47 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-02-07 17:31:24 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-28 23:40:54 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-06-17 00:58:19 +00:00
2017-11-28 18:23:17 +00:00
2017-06-17 00:58:19 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-06-02 17:31:25 +00:00