diff options
| author | Peter Zijlstra <[email protected]> | 2011-02-03 14:09:41 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2011-02-04 09:31:22 +0000 |
| commit | f266a5110d453b7987194460ac7edd31f1a5426c (patch) | |
| tree | c616ed6d9f59c94e6c16116c8d656dd9862f353f /net/unix/af_unix.c | |
| parent | x86, mm: avoid possible bogus tlb entries by clearing prev mm_cpumask after s... (diff) | |
| download | kernel-f266a5110d453b7987194460ac7edd31f1a5426c.tar.gz kernel-f266a5110d453b7987194460ac7edd31f1a5426c.zip | |
lockdep, timer: Fix del_timer_sync() annotation
Calling local_bh_enable() will want to actually start processing
softirqs, which isn't a good idea since this can get called with IRQs
disabled.
Cure this by using _local_bh_enable() which doesn't start processing
softirqs, and use raw_local_irq_save() to avoid any softirqs from
happening without letting lockdep think IRQs are in fact disabled.
Reported-by: Nick Bowler <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Reviewed-by: Yong Zhang <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
