diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2014-03-25 17:34:20 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-05-14 18:38:01 (GMT) |
commit | 89d80822ae4b0b98326e996db91e7ba26005531f (patch) | |
tree | 36ebdef32093c2db882965536cb0e160a0797575 /Documentation/CodingStyle | |
parent | f91e24f2e03d5001aeaec1dda4d3dca9b23f6dff (diff) | |
download | linux-fsl-qoriq-89d80822ae4b0b98326e996db91e7ba26005531f.tar.xz |
net: gianfar: do not disable interrupts
each per-queue lock is taken with spin_lock_irqsave() except in the case
where all of them are taken for some kind of serialisation. As an
optimisation local_irq_save() is used so that lock_tx_qs() and
lock_rx_qs() can use just the spin_lock() variant instead.
On RT local_irq_save() behaves differently so we use the nort()
variant.
Lockdep screems easily by "ethtool -K eth0 rx off tx off"
What remains is missing lockdep annotation that makes lockdep think
lock_tx_qs() may cause a dead lock.
Cc: stable-rt@vger.kernel.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'Documentation/CodingStyle')
0 files changed, 0 insertions, 0 deletions