All of lore.kernel.org
 help / color / mirror / Atom feed
[parent not found: <20221031124837.720118-1-xiongxin@kylinos.cn>]
[parent not found: <20221101022342.1345980-1-tgsp002@gmail.com>]
* [PATCH -next 0/2] Fixes to the hibernate_preallocate_memory()
@ 2022-11-01  2:28 TGSP
  2022-11-01  2:28 ` [PATCH -next 1/2] PM: hibernate: fix spelling mistake for annotation TGSP
  0 siblings, 1 reply; 9+ messages in thread
From: TGSP @ 2022-11-01  2:28 UTC (permalink / raw)
  To: rafael, len.brown, pavel, huanglei; +Cc: linux-pm, linux-kernel, xiongxin

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-11-05 18:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20221031124823.719912-1-xiongxin@kylinos.cn>
2022-10-31 12:48 ` [PATCH -next 1/2] PM: hibernate: fix spelling mistake for annotation xiongxin
2022-10-31 12:48 ` [PATCH -next 2/2] PM: hibernate: add check of preallocate mem for image size pages xiongxin
     [not found] <20221031124837.720118-1-xiongxin@kylinos.cn>
2022-10-31 12:48 ` [PATCH -next 1/2] PM: hibernate: fix spelling mistake for annotation xiongxin
     [not found] <20221101022342.1345980-1-tgsp002@gmail.com>
2022-11-01  2:23 ` TGSP
2022-11-01  2:28 [PATCH -next 0/2] Fixes to the hibernate_preallocate_memory() TGSP
2022-11-01  2:28 ` [PATCH -next 1/2] PM: hibernate: fix spelling mistake for annotation TGSP
2022-11-01 12:45   ` Bagas Sanjaya
2022-11-03 16:25   ` Rafael J. Wysocki
2022-11-04  7:31     ` TGSP
2022-11-05 18:09       ` Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.