[PATCH -next 0/2] Fixes to the hibernate_preallocate_memory()

TGSP posted 2 patches 3 years, 5 months ago
There is a newer version of this series
kernel/power/snapshot.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
[PATCH -next 0/2] Fixes to the hibernate_preallocate_memory()
Posted by TGSP 3 years, 5 months ago
From: xiongxin <xiongxin@kylinos.cn>

hibernate_preallocate_memory() function is still quite obscure, can
anyone add a little more description?

It seems that the max_size calculation formula is wrong in the comment
part, correct it;

It is also found that when mem preallocate is not enough, it goes
directly down without checking.

xiongxin (2):
  PM: hibernate: fix spelling mistake for annotation
  PM: hibernate: add check of preallocate mem for image size pages

 kernel/power/snapshot.c | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

-- 
2.25.1