Messages in this thread | | | Date | Fri, 3 Oct 2014 07:07:46 -0500 (CDT) | From | Christoph Lameter <> | Subject | Re: Why do we still have 32 bit counters? Interrupt counters overflow within 50 days |
| |
On Fri, 3 Oct 2014, Richard Cochran wrote:
> > DECLARE_PER_CPU(char *, irq_stack_ptr); > > -DECLARE_PER_CPU(unsigned int, irq_count); > > +DECLARE_PER_CPU(unsigned long, irq_count); > > Still 32 bit on 32 bit machines...
64 bit counters on 32 bit machines are not an easy thing and could be expensive to handle in particular because these counters are used in performance critical hotpaths.
I thought I better leave it alone on 32 bit.
| |