[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] x86/cpuidle: improve data arrangement


  • To: Jan Beulich <JBeulich@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxx>
  • From: Keir Fraser <keir.xen@xxxxxxxxx>
  • Date: Thu, 08 Mar 2012 14:05:08 +0000
  • Delivery-date: Thu, 08 Mar 2012 14:05:34 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Acz9NHf7bOpeVSL5nkmZKjRpKbmyfQ==
  • Thread-topic: [Xen-devel] [PATCH] x86/cpuidle: improve data arrangement

On 08/03/2012 12:46, "Jan Beulich" <JBeulich@xxxxxxxx> wrote:

> .. to reduce the amount of holes (wasted space).
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Acked-by: Keir Fraser <keir@xxxxxxx>

> --- a/xen/include/xen/cpuidle.h
> +++ b/xen/include/xen/cpuidle.h
> @@ -40,9 +40,9 @@
>  struct acpi_processor_cx
>  {
>      u8 idx;
> -    u8 type;
> -    u32 address;
> +    u8 type;         /* ACPI_STATE_Cn */
>      u8 entry_method; /* ACPI_CSTATE_EM_xxx */
> +    u32 address;
>      u32 latency;
>      u32 latency_ticks;
>      u32 power;
> @@ -66,8 +66,8 @@ struct acpi_processor_power
>      struct acpi_processor_flags flags;
>      struct acpi_processor_cx *last_state;
>      struct acpi_processor_cx *safe_state;
> -    u32 last_residency;
>      void *gdata; /* governor specific data */
> +    u32 last_residency;
>      u32 count;
>      struct acpi_processor_cx states[ACPI_PROCESSOR_MAX_POWER];
>  };
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.