summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/thread_info.h
diff options
context:
space:
mode:
authorRafael J. Wysocki2011-11-22 23:08:10 +0100
committerRafael J. Wysocki2011-11-23 21:03:38 +0100
commitbb58dd5d1ffad6c2d21c69698ba766dad4ae54e6 (patch)
treeaedde5149df5e3eb8c217b90540222ee507d5e9e /arch/microblaze/include/asm/thread_info.h
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ros... (diff)
downloadkernel-qcow2-linux-bb58dd5d1ffad6c2d21c69698ba766dad4ae54e6.tar.gz
kernel-qcow2-linux-bb58dd5d1ffad6c2d21c69698ba766dad4ae54e6.tar.xz
kernel-qcow2-linux-bb58dd5d1ffad6c2d21c69698ba766dad4ae54e6.zip
PM / Hibernate: Do not leak memory in error/test code paths
The hibernation core code forgets to release memory preallocated for hibernation if there's an error in its early stages or if test modes causing hibernation_snapshot() to return early are used. This causes the system to be hardly usable, because the amount of preallocated memory is usually huge. Fix this problem. Reported-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Diffstat (limited to 'arch/microblaze/include/asm/thread_info.h')
0 files changed, 0 insertions, 0 deletions