]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Optimize timer interrupt function
authorHelge Deller <deller@gmx.de>
Tue, 20 Dec 2016 19:51:10 +0000 (20:51 +0100)
committerHelge Deller <deller@gmx.de>
Tue, 20 Dec 2016 20:39:40 +0000 (21:39 +0100)
commit885408f8c5b631eca8afff2abb9660d0330b0194
tree436b9f2b94eca1f48a0484c91838219dd022635e
parentacac46b9acf8fcba62ead1c989f84ac776236fe1
parisc: Optimize timer interrupt function

Restructure the timer interrupt function to better cope with missed timer irqs.
Optimize the calculation when the next interrupt should happen and skip irqs if
they would happen too shortly after exit of the irq function.

The update_process_times() call is done anyway at every timer irq, so we can
safely drop the prof_counter and prof_multiplier variables from the per_cpu
structure.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/processor.h
arch/parisc/kernel/processor.c
arch/parisc/kernel/time.c