Drivers: hv: hv_balloon: Don't post pressure status from interrupt context
authorK. Y. Srinivasan <kys@microsoft.com>
Sat, 10 Jan 2015 07:54:31 +0000 (23:54 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jan 2015 17:17:57 +0000 (09:17 -0800)
commitab3de22bb4a3d4bda2d0ec8bebcb76a40f1cbf9b
treeb99c39b0ed982afd54c91745c5e18b8e19ddd57c
parent22f88475b62ac826acae2f77c3e1bd9543e87b2a
Drivers: hv: hv_balloon: Don't post pressure status from interrupt context

We currently release memory (balloon down) in the interrupt context and we also
post memory status while releasing memory. Rather than posting the status
in the interrupt context, wakeup the status posting thread to post the status.
This will address the inconsistent lock state that Sitsofe Wheeler <sitsofe@gmail.com>
reported:

http://lkml.iu.edu/hypermail/linux/kernel/1411.1/00075.html

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reported-by: Sitsofe Wheeler <sitsofe@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv_balloon.c