[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86/cpuidle: improve data arrangement
# HG changeset patch # User Jan Beulich <jbeulich@xxxxxxxx> # Date 1331222723 -3600 # Node ID a8959e0a463f0f028ffe3858d94460681b1b3659 # Parent 396801f25e922bdf1db5fd644435f46407586524 x86/cpuidle: improve data arrangement .. to reduce the amount of holes (wasted space). Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Keir Fraser <keir@xxxxxxx> --- diff -r 396801f25e92 -r a8959e0a463f xen/include/xen/cpuidle.h --- a/xen/include/xen/cpuidle.h Thu Mar 08 17:04:32 2012 +0100 +++ b/xen/include/xen/cpuidle.h Thu Mar 08 17:05:23 2012 +0100 @@ -40,9 +40,9 @@ struct acpi_processor_cx { u8 idx; - u8 type; + u8 type; /* ACPI_STATE_Cn */ + u8 entry_method; /* ACPI_CSTATE_EM_xxx */ u32 address; - u8 entry_method; /* ACPI_CSTATE_EM_xxx */ u32 latency; u32 latency_ticks; u32 power; @@ -66,8 +66,8 @@ struct acpi_processor_flags flags; struct acpi_processor_cx *last_state; struct acpi_processor_cx *safe_state; + void *gdata; /* governor specific data */ u32 last_residency; - void *gdata; /* governor specific data */ u32 count; struct acpi_processor_cx states[ACPI_PROCESSOR_MAX_POWER]; }; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |