Skip to content

Fixes to the hibernate_preallocate_memory()

TGSP linux-pm lkml stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v12 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Optimize code to resolve compilation warnings;
- Add comments, add debug data, easy to view and modify.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PM: hibernate: fix spelling mistake for annotationkernel/power/snapshot.c+2 -22 replies
2/2PM: hibernate: add check of preallocate mem for image size pageskernel/power/snapshot.c+9 -22 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Fixes to the hibernate_preallocate_memory()

Changes in v2:
- Optimize code to resolve compilation warnings;
- Add comments, add debug data, easy to view and modify.

v1:
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 | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)
Signature · 1 line
2.25.1