summaryrefslogtreecommitdiff
path: root/mm/balloon_compaction.c
diff options
context:
space:
mode:
authorDavid Jeffery <djeffery@redhat.com>2014-08-05 11:19:42 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-12-06 15:55:40 -0800
commite9aa2c508aa6f9e5538de625b421d85c3d5cd199 (patch)
tree91c1ac15e71c303cdd460195274f4142aa129df8 /mm/balloon_compaction.c
parent28b0107f54d780d3e6b193bf5d3d39b57fa0e629 (diff)
downloadlwn-e9aa2c508aa6f9e5538de625b421d85c3d5cd199.tar.gz
lwn-e9aa2c508aa6f9e5538de625b421d85c3d5cd199.zip
nfs: Don't busy-wait on SIGKILL in __nfs_iocounter_wait
commit 92a56555bd576c61b27a5cab9f38a33a1e9a1df5 upstream. If a SIGKILL is sent to a task waiting in __nfs_iocounter_wait, it will busy-wait or soft lockup in its while loop. nfs_wait_bit_killable won't sleep, and the loop won't exit on the error return. Stop the busy-wait by breaking out of the loop when nfs_wait_bit_killable returns an error. Signed-off-by: David Jeffery <djeffery@redhat.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> [ kamal: backport to 3.13-stable: context ] Cc: Moritz Mühlenhoff <muehlenhoff@univention.de> Signed-off-by: Kamal Mostafa <kamal@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/balloon_compaction.c')
0 files changed, 0 insertions, 0 deletions