]> Git Repo - linux.git/commit
PM / hibernate: Make passing hibernate offsets more friendly
authorMario Limonciello <[email protected]>
Wed, 28 Mar 2018 17:01:09 +0000 (12:01 -0500)
committerRafael J. Wysocki <[email protected]>
Fri, 30 Mar 2018 10:01:20 +0000 (12:01 +0200)
commit355064675f1c997cea017ea64c8f2c216e5425d9
tree71dcf9924f7878f793cb72f21f69fad606523b1f
parentdbdd0f58fd2cdde5cf945c9da67a2d52d32ba550
PM / hibernate: Make passing hibernate offsets more friendly

Currently the only way to specify a hibernate offset for a
swap file is on the kernel command line.

Add a new /sys/power/resume_offset that lets userspace
specify the offset and disk to use when initiating a hibernate
cycle.

Signed-off-by: Mario Limonciello <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Documentation/ABI/testing/sysfs-power
Documentation/power/swsusp.txt
kernel/power/hibernate.c
This page took 0.062008 seconds and 4 git commands to generate.