genirq: Annotate irq stats data races
authorThomas Gleixner <tglx@linutronix.de>
Thu, 10 Dec 2020 19:25:41 +0000 (20:25 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 15 Dec 2020 15:19:30 +0000 (16:19 +0100)
commit9e42ad10cedf0632fc39860381375806092212bd
tree869b44fb4351939487b8d5a47ec4057357ff19da
parent3e2380123fb96987ce958f623207010c667ffa7c
genirq: Annotate irq stats data races

Both the per cpu stats and the accumulated count are accessed lockless and
can be concurrently modified. That's intentional and the stats are a rough
estimate anyway. Annotate them with data_race().

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20201210194043.067097663@linutronix.de
kernel/irq/irqdesc.c
kernel/irq/proc.c