Messages in this thread | | | Subject | Re: Why do we still have 32 bit counters? Interrupt counters overflow within 50 days | From | Eric Dumazet <> | Date | Sun, 05 Oct 2014 16:57:13 -0700 |
| |
On Sun, 2014-10-05 at 18:24 -0500, Christoph Lameter wrote: > Subject: Increase irq counters to 64 bit V2
> -unsigned int kstat_irqs_cpu(unsigned int irq, int cpu) > +u64 kstat_irqs_cpu(unsigned int irq, int cpu) > { > struct irq_desc *desc = irq_to_desc(irq);
Well, this can not safely work on 32bit hosts.
Hint : include/linux/u64_stats_sync.h
Or simply use 'unsigned long' as you did in your first patch, really I don't feel 32bit hosts should care of this.
| |