Jian Jun Chen
63d41a75fa
dm: set iothread nice value to PRIO_MIN
...
To improve the performance of the virtual device who utilizes iothread
(such as virtio-blk), this patch sets iothread nice value to PRIO_MIN,
so that it could get higher priority on scheduling.
This patch does:
- introduce `set_thread_priority` to set the priority of the current running
thread.
The priority could be any value in the range PRIO_MIN to PRIO_MAX.
Lower numerical value causes more favorable scheduling.
- set iothread nice value to PRIO_MIN.
Tracked-On: #8612
Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com >
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com >
Acked-by: Wang, Yu1 <yu1.wang@intel.com >
2024-06-05 15:23:33 +08:00
..
2024-02-01 17:01:31 +08:00
2019-01-23 10:33:28 +08:00
2022-07-13 14:01:01 +08:00
2018-05-11 14:44:28 +08:00
2020-09-01 09:30:08 +08:00
2018-05-15 17:25:24 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2024-06-05 15:23:33 +08:00
2022-07-15 11:48:35 +08:00
2019-05-24 11:51:00 +08:00
2018-05-11 14:44:28 +08:00
2022-07-15 11:48:35 +08:00
2024-06-05 15:23:33 +08:00
2022-03-28 15:26:20 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2018-10-09 13:24:47 +08:00
2023-07-27 12:23:12 +08:00
2021-07-15 11:53:54 +08:00
2018-05-16 15:09:48 +08:00
2022-07-15 11:48:35 +08:00
2018-05-11 14:44:28 +08:00
2024-06-05 15:23:33 +08:00
2018-05-11 14:44:28 +08:00
2022-07-15 11:48:35 +08:00
2018-05-11 14:44:28 +08:00
2022-07-15 11:48:35 +08:00
2018-05-11 14:44:28 +08:00
2022-07-15 11:48:35 +08:00
2021-07-15 11:53:54 +08:00
2018-12-07 20:21:33 +08:00
2022-08-02 18:01:24 +08:00
2024-02-01 17:01:31 +08:00
2018-05-11 14:44:28 +08:00
2019-05-24 11:51:00 +08:00
2018-06-07 16:11:49 +08:00
2018-05-11 14:44:28 +08:00
2022-09-23 18:12:01 +08:00
2023-08-03 14:56:29 -07:00
2022-07-15 11:48:35 +08:00
2018-05-11 14:44:28 +08:00
2023-07-27 12:23:12 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2018-05-15 17:25:24 +08:00
2018-05-15 17:25:24 +08:00
2021-05-19 13:54:24 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2019-05-24 11:51:00 +08:00
2024-02-01 17:01:31 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2019-03-21 10:28:17 +08:00
2022-04-08 13:54:47 +08:00
2018-12-27 09:58:20 +08:00
2023-09-19 14:26:02 +08:00
2022-07-15 11:48:35 +08:00
2018-05-29 10:35:05 +08:00
2018-05-11 14:44:28 +08:00
2022-07-15 11:48:35 +08:00
2022-08-15 14:44:47 +08:00
2022-04-19 18:30:06 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2024-06-05 15:23:33 +08:00
2024-02-01 17:01:31 +08:00
2022-11-25 10:43:34 +08:00
2022-07-15 11:48:35 +08:00
2022-07-15 11:48:35 +08:00
2019-09-26 11:29:22 +08:00
2019-05-24 13:21:12 +08:00