SRU JUSTIFICATION ---------------------------
CAUSE ----------- [ 839.784885] PM: Creating hibernation image: [ 839.788014] PM: Need to copy 120225 pages [ 839.788014] PM: Normal pages needed: 118714 + 1024, available pages: 118002 [ 839.788014] PM: Not enough free memory [ 839.788014] PM: Error -12 creating hibernation image
FIX ---- Upstream patch reduces the image size to it equal 2/5 of the total RAM size. This combined with shutdown hibernate mode fixes this issue.
TEST ------ This upstream patch was tested on a lenovo x120e by me, please see comments above for test results and details.
SRU JUSTIFICATION ------- ------- ------
-------
CAUSE
-----------
[ 839.784885] PM: Creating hibernation image:
[ 839.788014] PM: Need to copy 120225 pages
[ 839.788014] PM: Normal pages needed: 118714 + 1024, available pages: 118002
[ 839.788014] PM: Not enough free memory
[ 839.788014] PM: Error -12 creating hibernation image
FIX
----
Upstream patch reduces the image size to it equal 2/5 of the total RAM size. This combined with shutdown hibernate mode fixes this issue.
TEST
------
This upstream patch was tested on a lenovo x120e by me, please see comments above for test results and details.