RFC PM: Rearrange core suspend code
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 166 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | PM: Separate suspend to RAM functionality from corekernel/ kernel/ kernel/ +2 more | +505 | 0 replies | |
| 1/2 | PM: Separate suspend to RAM functionality from corekernel/ kernel/ kernel/ +2 more | +505 | 2 replies | |
| 2/2 | PM/Hibernate: Rename disk.c to hibernate.ckernel/ kernel/ kernel/ +1 more | +958 | 0 replies | |
| 2/2 | PM/Hibernate: Rename disk.c to hibernate.ckernel/ kernel/ kernel/ +1 more | +958 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC][PATCH 0/2] PM: Rearrange core suspend code
Hi,
Here's something I wanted to do quite some time ago.
kernel/power/main.c becomes more and more difficult to maintain over time, since it contains both the suspend to RAM core code and some common PM code that is also used for hibernation. For this reason [1/2] separates the suspend to RAM code from main.c and puts it into two new files (the test facility is, again, separated from the core code for clarity).
[2/2] renames kernel/power/disk.c to kernel/power/hibernate.c, because the role of this file is analogous to kernel/power/suspend.c (introduced by [1/2]).
Comments welcome.
Best,
Rafael