diff options
| author | 2012-02-01 22:16:36 +0100 | |
|---|---|---|
| committer | 2012-02-01 22:16:36 +0100 | |
| commit | fe9161db2e6053da21e4649d77bbefaf3030b11d (patch) | |
| tree | 3f875f40201455571280eef7a0c9fdc3c98e346e /include/linux/pm_qos.h | |
| parent | Linux 3.3-rc2 (diff) | |
| download | wireguard-linux-fe9161db2e6053da21e4649d77bbefaf3030b11d.tar.xz wireguard-linux-fe9161db2e6053da21e4649d77bbefaf3030b11d.zip | |
PM / Hibernate: Thaw kernel threads in SNAPSHOT_CREATE_IMAGE ioctl path
In the SNAPSHOT_CREATE_IMAGE ioctl, if the call to hibernation_snapshot()
fails, the frozen tasks are not thawed.
And in the case of success, if we happen to exit due to a successful freezer
test, all tasks (including those of userspace) are thawed, whereas actually
we should have thawed only the kernel threads at that point. Fix both these
issues.
Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: stable@vger.kernel.org
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
