Files
acrn-hypervisor/devicemodel/include
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
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-11 14:44:28 +08:00
2024-06-05 15:23:33 +08:00
2022-03-28 15:26:20 +08:00
2018-05-16 15:09:48 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-12-07 20:21:33 +08:00
2018-05-11 14:44:28 +08:00
2018-06-07 16:11:49 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2021-05-19 13:54:24 +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
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
2018-05-11 14:44:28 +08:00
2022-11-25 10:43:34 +08:00