summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2020-01-16 14:09:34 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-01-17 01:51:45 +0300
commit18451f9f9e5810b8bd1245c5ae166f257e0e2b9d (patch)
tree1c2fbb83b60b6f165779b8414af59653d434f370 /tools/perf/scripts/python/exported-sql-viewer.py
parentb3a987b0264d3ddbb24293ebff10eddfc472f653 (diff)
downloadlinux-18451f9f9e5810b8bd1245c5ae166f257e0e2b9d.tar.xz
PM: hibernate: fix crashes with init_on_free=1
Upon resuming from hibernation, free pages may contain stale data from the kernel that initiated the resume. This breaks the invariant inflicted by init_on_free=1 that freed pages must be zeroed. To deal with this problem, make clear_free_pages() also clear the free pages when init_on_free is enabled. Fixes: 6471384af2a6 ("mm: security: introduce init_on_alloc=1 and init_on_free=1 boot options") Reported-by: Johannes Stezenbach <js@sig21.net> Signed-off-by: Alexander Potapenko <glider@google.com> Cc: 5.3+ <stable@vger.kernel.org> # 5.3+ Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions