From: TGSP <tgsp002@gmail.com>
To: rafael@kernel.org, len.brown@intel.com, pavel@ucw.cz,
huanglei@kylinos.cn
Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
xiongxin <xiongxin@kylinos.cn>
Subject: [PATCH -next 0/2] Fixes to the hibernate_preallocate_memory()
Date: Tue, 1 Nov 2022 10:28:38 +0800 [thread overview]
Message-ID: <20221101022840.1351163-1-tgsp002@gmail.com> (raw)
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
next reply other threads:[~2022-11-01 2:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-01 2:28 TGSP [this message]
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
2022-11-01 2:28 ` [PATCH -next 2/2] PM: hibernate: add check of preallocate mem for image size pages TGSP
2022-11-01 21:23 ` kernel test robot
2022-11-03 16:47 ` Rafael J. Wysocki
2022-11-03 16:57 ` Rafael J. Wysocki
2022-11-03 17:11 ` Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221101022840.1351163-1-tgsp002@gmail.com \
--to=tgsp002@gmail.com \
--cc=huanglei@kylinos.cn \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=rafael@kernel.org \
--cc=xiongxin@kylinos.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).