Displaying 4 results from an estimated 4 matches for "sched_smt_power_sav".
2011 Mar 14
0
[PATCH 3/3] _csched_cpu_pick(): simplify sched_smt_power_savings dependent condition
...mmon/sched_credit.c
+++ b/xen/common/sched_credit.c
@@ -526,10 +526,9 @@ _csched_cpu_pick(const struct scheduler
weight_cpu = cpus_weight(cpu_idlers);
weight_nxt = cpus_weight(nxt_idlers);
/* smt_power_savings: consolidate work rather than spreading it */
- if ( ( sched_smt_power_savings
- && (weight_cpu > weight_nxt) )
- || ( !sched_smt_power_savings
- && (weight_cpu * migrate_factor < weight_nxt) ) )
+ if ( sched_smt_power_savings ?
+ weight_cpu > weight_nxt :
+ weight_cpu * mig...
2012 Sep 14
1
[PATCH] xenpm: make argument parsing and error handling more consistent
...trcasecmp(argv[0], "enable") )
value = 1;
- }
else
{
- show_help();
- exit(-1);
+ fprintf(stderr, "Invalid argument: %s\n", argv[0]);
+ exit(EINVAL);
}
- rc = xc_set_sched_opt_smt(xc_handle, value);
- printf("%s sched_smt_power_savings %s\n", argv[0],
- rc? "failed":"succeeded" );
-
- return;
+ if ( !xc_set_sched_opt_smt(xc_handle, value) )
+ printf("%s sched_smt_power_savings succeeded\n", argv[0]);
+ else
+ fprintf(stderr, "%s sched_smt_power_...
2009 Aug 28
0
[PATCH] properly __initdata-annotate command line option string buffers
...le.c 2009-08-24 17:53:43.000000000 +0200
@@ -35,7 +35,7 @@
#include <xsm/xsm.h>
/* opt_sched: scheduler - default to credit */
-static char opt_sched[10] = "credit";
+static char __initdata opt_sched[10] = "credit";
string_param("sched", opt_sched);
/* if sched_smt_power_savings is set,
--- 2009-08-18.orig/xen/drivers/char/console.c 2009-08-07 09:20:56.000000000 +0200
+++ 2009-08-18/xen/drivers/char/console.c 2009-08-24 17:51:39.000000000 +0200
@@ -36,7 +36,7 @@
#include <public/sysctl.h>
/* console: comma-separated list of console outputs. */
-static char op...
2013 Mar 12
14
vpmu=1 and running 'perf top' within a PVHVM guest eventually hangs dom0 and hypervisor has stuck vCPUS. Romley-EP (model=45, stepping=2)
...3_harddisk: function 02, ELDL out of range 8d
(XEN) HVM1: int13_harddisk: function 41, ELDL out of range 8e
(XEN) HVM1: int13_harddisk: function 02, ELDL out of range 8e
(XEN) HVM1: int13_harddisk: function 41, ELDL out of range 8f
(XEN) HVM1: int13_harddisk: function 02, ELDL out of range 8f
(XEN) sched_smt_power_savings: disabled
(XEN) NOW=0x00000033F4AFEFD7
(XEN) Idle cpupool:
(XEN) Scheduler: SMP Credit Scheduler (credit)
(XEN) info:
(XEN) ncpus = 32
(XEN) master = 0
(XEN) credit = 9600
(XEN) credit balance = 226
(XEN) weight = 256
(XEN) runq_sort...