diff options
-rw-r--r-- | docs/misc/xen-command-line.markdown | 3 | ||||
-rw-r--r-- | xen/common/sched_credit.c | 9 |
2 files changed, 2 insertions, 10 deletions
diff --git a/docs/misc/xen-command-line.markdown b/docs/misc/xen-command-line.markdown index 5b18e10311..54f294a084 100644 --- a/docs/misc/xen-command-line.markdown +++ b/docs/misc/xen-command-line.markdown @@ -734,9 +734,6 @@ Choose the default scheduler. ### sched\_credit2\_migrate\_resist > `= <integer>` -### sched\_credit\_default\_yield -> `= <boolean>` - ### sched\_credit\_tslice\_ms > `= <integer>` diff --git a/xen/common/sched_credit.c b/xen/common/sched_credit.c index df1ba3249b..577de5d445 100644 --- a/xen/common/sched_credit.c +++ b/xen/common/sched_credit.c @@ -103,8 +103,6 @@ /* * Boot parameters */ -static bool_t __read_mostly sched_credit_default_yield; -boolean_param("sched_credit_default_yield", sched_credit_default_yield); static int __read_mostly sched_credit_tslice_ms = CSCHED_DEFAULT_TSLICE_MS; integer_param("sched_credit_tslice_ms", sched_credit_tslice_ms); @@ -783,11 +781,8 @@ csched_vcpu_yield(const struct scheduler *ops, struct vcpu *vc) { struct csched_vcpu * const sv = CSCHED_VCPU(vc); - if ( !sched_credit_default_yield ) - { - /* Let the scheduler know that this vcpu is trying to yield */ - sv->flags |= CSCHED_FLAG_VCPU_YIELD; - } + /* Let the scheduler know that this vcpu is trying to yield */ + sv->flags |= CSCHED_FLAG_VCPU_YIELD; } static int |