aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-10-31 11:33:01 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-10-31 11:33:01 +0100
commit1cf9c4f115019ebc77c6c1f6b379537bb1a48908 (patch)
tree752ec814a60e0c43c9b1c16f88c776b9b2b969d3 /Documentation
parent35e4a69b2003f20a69e7d19ae96ab1eef1aa8e8d (diff)
parent8e4ec90701efec7f2814c89b398d6d4272636814 (diff)
downloadlinux-1cf9c4f115019ebc77c6c1f6b379537bb1a48908.tar.gz
Merge back system sleep material for 6.19
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/ABI/testing/sysfs-power16
-rw-r--r--Documentation/admin-guide/kernel-parameters.txt10
2 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-power b/Documentation/ABI/testing/sysfs-power
index 4d8e1ad020f05b..d38da077905a9d 100644
--- a/Documentation/ABI/testing/sysfs-power
+++ b/Documentation/ABI/testing/sysfs-power
@@ -454,3 +454,19 @@ Description:
disables it. Reads from the file return the current value.
The default is "1" if the build-time "SUSPEND_SKIP_SYNC" config
flag is unset, or "0" otherwise.
+
+What: /sys/power/hibernate_compression_threads
+Date: October 2025
+Contact: <luoxueqin@kylinos.cn>
+Description:
+ Controls the number of threads used for compression
+ and decompression of hibernation images.
+
+ The value can be adjusted at runtime to balance
+ performance and CPU utilization.
+
+ The change takes effect on the next hibernation or
+ resume operation.
+
+ Minimum value: 1
+ Default value: 3
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index 6c42061ca20e58..46db3cbb838f22 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -1907,6 +1907,16 @@
/sys/power/pm_test). Only available when CONFIG_PM_DEBUG
is set. Default value is 5.
+ hibernate_compression_threads=
+ [HIBERNATION]
+ Set the number of threads used for compressing or decompressing
+ hibernation images.
+
+ Format: <integer>
+ Default: 3
+ Minimum: 1
+ Example: hibernate_compression_threads=4
+
highmem=nn[KMG] [KNL,BOOT,EARLY] forces the highmem zone to have an exact
size of <nn>. This works even on boxes that have no
highmem otherwise. This also works to reduce highmem