Skip to content

RFC PM: Remove unused and unnecessary features from suspend and resume core

Rafael J. Wysocki linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7PM: Remove pm_parent from struct dev_pm_infodrivers/base/power/main.c drivers/base/power/resume.c drivers/base/power/suspend.c +1 more+16 -370 replies
1/7PM: Remove pm_parent from struct dev_pm_infodrivers/base/power/main.c drivers/base/power/resume.c drivers/base/power/suspend.c +1 more+16 -374 replies
2/7PM: Remove saved_state from struct dev_pm_infoinclude/linux/pm.h+0 -10 replies
3/7PM: Simplify suspend_devicedrivers/base/power/suspend.c+18 -310 replies
3/7PM: Simplify suspend_devicedrivers/base/power/suspend.c+18 -311 reply
4/7PM: Remove suspend and resume support from struct device_typedrivers/base/power/resume.c drivers/base/power/suspend.c include/linux/device.h+0 -140 replies
4/7PM: Remove suspend and resume support from struct device_typedrivers/base/power/resume.c drivers/base/power/suspend.c include/linux/device.h+0 -140 replies
5/7PM: Remove prev_state from struct dev_pm_infodrivers/base/power/resume.c drivers/base/power/suspend.c drivers/usb/core/hub.c +1 more+1 -100 replies
5/7PM: Remove prev_state from struct dev_pm_infodrivers/base/power/resume.c drivers/base/power/suspend.c drivers/usb/core/hub.c +1 more+1 -100 replies
6/7PM: Remove power_state.event checks from suspend core codedrivers/base/power/suspend.c+3 -50 replies
6/7PM: Remove power_state.event checks from suspend core codedrivers/base/power/suspend.c+3 -50 replies
7/7PM: Do not check parent state in suspend and resume core codedrivers/base/power/resume.c drivers/base/power/suspend.c+0 -140 replies
7/7PM: Do not check parent state in suspend and resume core codedrivers/base/power/resume.c drivers/base/power/suspend.c+0 -140 replies

Reviews trailers per patch

2 of 13 patches have a Reviewed-by or Acked-by.

PatchDavid Brownell
1/7A-b A-b
1/7A-b A-b
2/7
3/7
3/7
4/7
4/7
5/7
5/7
6/7
6/7
7/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC][PATCH -mm 0/7] PM: Remove unused and unnecessary features from suspend and resume core

Hi,

The following series of patches removes some unused and unnecessary features from the suspend and resume core code.

Comments welcome.

Greetings,
Rafael

Signature · 1 line
"Premature optimization is the root of all evil." - Donald Knuth