summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-rlock.h
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2010-03-11 13:50:06 +0000
committerDavid S. Miller <davem@davemloft.net>2010-03-16 21:17:01 -0700
commit561c7df63e259203515509a7ad075382a42bff0c (patch)
tree80d3d382ba155d4bced37b716dcac0e31062f2c5 /lib/locking-selftest-rlock.h
parent450d06c0208ad195ccd74a7edd11321e316791ad (diff)
downloadblackbird-op-linux-561c7df63e259203515509a7ad075382a42bff0c.tar.gz
blackbird-op-linux-561c7df63e259203515509a7ad075382a42bff0c.zip
RDS: Do not call set_page_dirty() with irqs off
set_page_dirty() unconditionally re-enables interrupts, so if we call it with irqs off, they will be on after the call, and that's bad. This patch moves the call after we've re-enabled interrupts in send_drop_to(), so it's safe. Also, add BUG_ONs to let us know if we ever do call set_page_dirty with interrupts off. Signed-off-by: Andy Grover <andy.grover@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/locking-selftest-rlock.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud