summaryrefslogtreecommitdiff
path: root/lib/lz4
diff options
context:
space:
mode:
authorRoss Lagerwall <ross.lagerwall@citrix.com>2014-08-18 13:41:36 +0400
committerJiri Slaby <jslaby@suse.cz>2014-10-13 17:41:10 +0400
commit6e8ce280a960eac08586cc762fc64b1aa90fe955 (patch)
treeabe4988106515571e0ff9e768f9ed4033aa25966 /lib/lz4
parenta70da19380b16c737b3d2a663ec1239dfa45be79 (diff)
downloadlinux-6e8ce280a960eac08586cc762fc64b1aa90fe955.tar.xz
xen/manage: Always freeze/thaw processes when suspend/resuming
commit 61a734d305e16944b42730ef582a7171dc733321 upstream. Always freeze processes when suspending and thaw processes when resuming to prevent a race noticeable with HVM guests. This prevents a deadlock where the khubd kthread (which is designed to be freezable) acquires a usb device lock and then tries to allocate memory which requires the disk which hasn't been resumed yet. Meanwhile, the xenwatch thread deadlocks waiting for the usb device lock. Freezing processes fixes this because the khubd thread is only thawed after the xenwatch thread finishes resuming all the devices. Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'lib/lz4')
0 files changed, 0 insertions, 0 deletions