hv: sched_iorr: Add IO sensitive Round-robin scheduler

IO sensitive Round-robin scheduler aim to schedule threads with
round-robin policy. Meanwhile, we also enhance it with some fairness
configuration, such as thread will be scheduled out without properly
timeslice. IO request on thread will be handled in high priority.

This patch only add a skeleton for the sched_iorr scheduler.

Tracked-On: #4178
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Signed-off-by: Yu Wang <yu1.wang@intel.com>
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Shuo A Liu
2019-06-20 11:10:53 +08:00
committed by wenlingz
parent 3c8d465a11
commit ed4008630d
4 changed files with 64 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ struct per_cpu_region {
struct per_cpu_timers cpu_timers;
struct sched_control sched_ctl;
struct sched_noop_control sched_noop_ctl;
struct sched_iorr_control sched_iorr_ctl;
struct thread_object idle;
struct host_gdt gdt;
struct tss_64 tss;