Jeff Roberson
c5aa6b581d
- Pass the priority argument from *sleep() into sleepq and down into
...
sched_sleep(). This removes extra thread_lock() acquisition and
allows the scheduler to decide what to do with the static boost.
- Change the priority arguments to cv_* to match sleepq/msleep/etc.
where 0 means no priority change. Catch -1 in cv_broadcastpri() and
convert it to 0 for now.
- Set a flag when sleeping in a way that is compatible with swapping
since direct priority comparisons are meaningless now.
- Add a sysctl to ule, kern.sched.static_boost, that defaults to on which
controls the boost behavior. Turning it off gives better performance
in some workloads but needs more investigation.
- While we're modifying sleepq, change signal and broadcast to both
return with the lock held as the lock was held on enter.
Reviewed by: jhb, peter
2008-03-12 06:31:06 +00:00
..
2007-02-23 12:19:07 +00:00
2008-01-18 17:02:14 +00:00
2008-01-13 14:44:15 +00:00
2008-01-13 14:44:15 +00:00
2008-01-13 14:44:15 +00:00
2008-03-02 07:39:22 +00:00
2008-03-02 07:41:10 +00:00
2008-01-13 14:44:15 +00:00
2008-01-13 14:44:15 +00:00
2007-12-25 17:52:02 +00:00
2008-03-12 06:31:06 +00:00
2007-12-05 01:22:03 +00:00
2007-03-05 13:10:58 +00:00
2008-01-16 01:05:21 +00:00
2008-03-06 20:11:24 +00:00
2008-03-08 22:02:21 +00:00
2007-10-24 19:04:04 +00:00
2008-01-07 20:05:19 +00:00
2008-01-13 14:44:15 +00:00
2008-02-17 15:28:28 +00:00
2007-11-15 02:13:44 +00:00
2007-10-27 00:52:26 +00:00
2007-10-29 20:45:31 +00:00
2008-01-24 08:25:59 +00:00
2007-11-15 14:16:20 +00:00
2007-11-15 21:45:17 +00:00
2008-02-23 01:01:49 +00:00
2008-01-13 14:44:15 +00:00
2008-03-01 19:47:50 +00:00
2007-08-07 09:04:50 +00:00
2007-06-27 13:39:38 +00:00
2008-02-01 19:36:27 +00:00
2008-02-17 16:44:48 +00:00
2008-02-13 21:34:06 +00:00
2007-05-27 20:50:23 +00:00
2008-02-13 23:39:05 +00:00
2007-06-14 18:37:58 +00:00
2007-12-07 08:20:17 +00:00
2007-08-06 14:26:03 +00:00
2008-03-07 15:27:08 +00:00
2008-01-10 22:11:20 +00:00
2007-10-24 19:04:04 +00:00
2008-01-10 22:11:20 +00:00
2007-11-18 14:43:53 +00:00
2008-02-07 06:16:54 +00:00
2008-03-04 07:39:31 +00:00
2008-03-08 16:31:29 +00:00
2007-06-05 00:00:57 +00:00
2007-11-14 06:21:24 +00:00
2008-03-12 06:31:06 +00:00
2008-03-12 06:31:06 +00:00
2007-11-30 21:29:08 +00:00
2008-02-17 02:46:54 +00:00
2007-11-15 06:35:26 +00:00
2008-03-12 06:31:06 +00:00
2008-01-18 13:00:28 +00:00
2008-03-12 06:31:06 +00:00
2007-12-17 08:09:37 +00:00
2007-04-23 12:53:00 +00:00
2007-03-05 13:10:58 +00:00
2007-06-05 00:00:57 +00:00
2008-01-13 14:44:15 +00:00
2008-01-13 14:44:15 +00:00
2007-11-18 00:23:31 +00:00
2007-07-05 08:55:14 +00:00
2007-12-14 21:30:51 +00:00
2007-07-04 22:38:28 +00:00
2007-11-14 06:21:24 +00:00
2008-03-12 06:31:06 +00:00
2008-03-12 06:31:06 +00:00
2007-06-12 00:12:01 +00:00
2008-02-15 21:54:21 +00:00
2008-03-10 01:48:25 +00:00
2007-07-23 09:42:32 +00:00
2007-02-15 17:21:31 +00:00
2007-12-25 17:52:02 +00:00
2008-02-06 00:04:09 +00:00
2007-05-27 17:38:36 +00:00
2007-10-16 10:40:53 +00:00
2007-11-14 06:21:24 +00:00
2007-03-08 06:44:34 +00:00
2007-06-05 00:00:57 +00:00
2007-04-28 07:37:49 +00:00
2008-03-12 06:31:06 +00:00
2008-03-10 01:38:53 +00:00
2007-12-03 14:44:35 +00:00
2007-10-20 23:23:23 +00:00
2007-12-07 08:20:17 +00:00
2008-02-07 06:55:38 +00:00
2007-07-04 06:56:58 +00:00
2008-03-03 17:17:00 +00:00
2008-01-07 20:05:19 +00:00
2008-01-07 20:05:19 +00:00
2007-11-08 19:35:36 +00:00
2008-01-07 20:05:19 +00:00
2008-03-02 07:41:10 +00:00
2008-03-02 07:39:22 +00:00
2008-03-02 07:41:10 +00:00
2007-06-12 00:12:01 +00:00
2007-10-24 19:04:04 +00:00
2007-10-24 19:04:04 +00:00
2008-02-12 20:55:03 +00:00
2008-01-13 14:44:15 +00:00
2007-07-05 05:54:47 +00:00
2008-01-26 06:09:23 +00:00
2007-07-03 17:46:37 +00:00
2008-01-08 04:53:28 +00:00
2008-02-01 19:36:27 +00:00
2008-01-03 15:19:31 +00:00
2007-08-06 14:26:03 +00:00
2007-10-24 19:04:04 +00:00
2008-02-01 19:36:27 +00:00
2008-01-13 14:44:15 +00:00
2008-01-07 22:03:19 +00:00
2008-02-07 05:55:16 +00:00
2008-02-04 12:25:13 +00:00
2008-02-04 12:25:13 +00:00
2008-02-24 00:07:00 +00:00
2008-01-18 19:16:03 +00:00
2008-01-13 14:44:15 +00:00
2008-02-01 11:59:14 +00:00
2008-03-01 19:47:50 +00:00
2008-02-25 18:45:57 +00:00
2007-06-01 01:12:45 +00:00
2008-02-25 18:45:57 +00:00
2007-02-15 22:08:35 +00:00
2008-01-13 14:44:15 +00:00
2007-03-13 01:50:27 +00:00
2007-02-16 17:32:41 +00:00
2008-02-25 18:45:57 +00:00
2008-02-18 20:58:57 +00:00
2008-03-01 19:47:50 +00:00
2008-02-23 01:01:49 +00:00
2008-01-13 14:44:15 +00:00
2008-02-26 12:16:35 +00:00