summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorDavide Libenzi <davidel@xmailserver.org>2008-04-11 04:29:19 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-11 15:06:43 (GMT)
commit8d1c98b0b5c0148b519c6416e689ef6a89ffcea3 (patch)
tree904c70d4ed15dd79a003c34bad2e25cff9522420 /drivers/spi
parentd479540dbaba6f7acdb48e0242fee868c7a68116 (diff)
downloadlinux-8d1c98b0b5c0148b519c6416e689ef6a89ffcea3.tar.xz
eventfd/kaio integration fix
Jeff Roberson discovered a race when using kaio eventfd based notifications. When it occurs it can lead tomissed wakeups and hung userspace. This patch fixes the race by moving the notification inside the spinlocked section of kaio. The operation is safe since eventfd spinlock and kaio one are unrelated. Signed-off-by: Davide Libenzi <davidel@xmailserver.org> Cc: Zach Brown <zach.brown@oracle.com> Cc: Jeff Roberson <jroberson@chesapeake.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions