diff options
| author | Thomas Gleixner <[email protected]> | 2015-07-05 17:12:35 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2015-07-07 09:54:04 +0000 |
| commit | 09cf92b784fae6109450c5d64f9908066d605249 (patch) | |
| tree | 5c4dcac5d736a39342f24a4d7d627a2290f54fb1 /scripts/asn1_compiler.c | |
| parent | x86/irq: Use proper locking in check_irq_vectors_for_cpu_disable() (diff) | |
| download | kernel-09cf92b784fae6109450c5d64f9908066d605249.tar.gz kernel-09cf92b784fae6109450c5d64f9908066d605249.zip | |
x86/irq: Retrieve irq data after locking irq_desc
irq_data is protected by irq_desc->lock, so retrieving the irq chip
from irq_data outside the lock is racy vs. an concurrent update. Move
it into the lock held region.
While at it add a comment why the vector walk does not require
vector_lock.
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: xiao jin <[email protected]>
Cc: Joerg Roedel <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Yanmin Zhang <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/asn1_compiler.c')
0 files changed, 0 insertions, 0 deletions
