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

Re: [Xen-devel] [PATCH] x86: reduce irq_cpustat_t's __softirq_pending to 32 bits


  • To: Jan Beulich <JBeulich@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxx>
  • Date: Fri, 01 Mar 2013 19:42:10 +0000
  • Delivery-date: Fri, 01 Mar 2013 19:42:47 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Ac4WtN0emP7xYR05Mk2YerB5OpBbVA==
  • Thread-topic: [Xen-devel] [PATCH] x86: reduce irq_cpustat_t's __softirq_pending to 32 bits

On 01/03/2013 16:11, "Jan Beulich" <JBeulich@xxxxxxxx> wrote:

> Assembly code was already only accessing the low 32 bits of it, and
> we're far away from using all 32 bits of it.
> 
> Noticed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

I'd also be fine with some explicitly-sized typing here. But I don't really
care much about that either way, so:

Acked-by: Keir Fraser <keir@xxxxxxx>

> --- a/xen/include/asm-x86/hardirq.h
> +++ b/xen/include/asm-x86/hardirq.h
> @@ -5,7 +5,7 @@
>  #include <xen/cache.h>
>  
>  typedef struct {
> - unsigned long __softirq_pending;
> + unsigned int __softirq_pending;
> unsigned int __local_irq_count;
> unsigned int __nmi_count;
> bool_t __mwait_wakeup;
> 
> 
> 
> _______________________________________________
> 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®.