aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorZihuan Zhang <[email protected]>2025-05-07 06:35:20 +0000
committerRafael J. Wysocki <[email protected]>2025-05-09 13:59:10 +0000
commit50c9bb30dc1f9731995a191deafbc49be717053e (patch)
treeb4e0ff43801cf9516005b342e76a6472699da71d /rust/helpers/helpers.c
parentPM: wakeup: Delete space in the end of string shown by pm_show_wakelocks() (diff)
downloadkernel-50c9bb30dc1f9731995a191deafbc49be717053e.tar.gz
kernel-50c9bb30dc1f9731995a191deafbc49be717053e.zip
PM: hibernate: add configurable delay for pm_test
Turn the default 5 second test delay for hibernation into a configurable module parameter, so users can determine how long to wait in this pseudo-hibernate state before resuming the system. The configurable delay parameter has been added for suspend, so add an analogous one for hibernation. Example (wait 30 seconds); # echo 30 > /sys/module/hibernate/parameters/pm_test_delay # echo core > /sys/power/pm_test Signed-off-by: Zihuan Zhang <[email protected]> Reviewed-by: Randy Dunlap <[email protected]> Link: https://patch.msgid.link/[email protected] [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions