Freezer Upgrade Patches
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest23 patches 26 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/23 | Make workqueues freezeable.block/ drivers/ drivers/ +13 more | +149 | 2 replies | |
| 2/23 | Add new include/linux/freezer.h header.include/ | +28 | 0 replies | |
| 3/23 | Allow a notifier to remove itself from the notifier list.kernel/ | +5 | 0 replies | |
| 4/23 | Todo notifier for processes.arch/ arch/ arch/ +51 more | +94 | 0 replies | |
| 5/23 | Make the freezer use todo lists.Documentation/ Documentation/ include/ +1 more | +77 | 0 replies | |
| 6/23 | Disable usermode helper invocations when the freezer is on.kernel/ | +4 | 5 replies | |
| 7/23 | Add which-to-thaw parameter to thaw_processes() calls.kernel/ kernel/ | +7 | 0 replies | |
| 8/23 | New freezer explanation for kernel/power/process.ckernel/ | +23 | 0 replies | |
| 9/23 | Quieten the freezer for normal operation.kernel/ | +13 | 0 replies | |
| 10/23 | Add support for freezing filesystem bdevs.kernel/ | +50 | 0 replies | |
| 11/23 | Modify freezeable for freezing kernel threads separately.kernel/ | +12 | 0 replies | |
| 12/23 | Split freezing of threads according to whether user/kernelspace.kernel/ | +52 | 0 replies | |
| 13/23 | Add support for thawing just kernel threads or all threads.kernel/ | +19 | 0 replies | |
| 14/23 | Helper for counting freezeable threads of a type.kernel/ | +23 | 0 replies | |
| 15/23 | Helper for counting uninterruptible threads of a type.kernel/ | +23 | 8 replies | |
| 16/23 | Helper to signal all threads of a type.kernel/ | +25 | 0 replies | |
| 17/23 | Helper to prod processes that should have frozen but haven't.kernel/ | +23 | 0 replies | |
| 18/23 | Helper: Did we fail to freeze all threads of a type?kernel/ | +40 | 0 replies | |
| 19/23 | Freeze all threads of a type.kernel/ | +41 | 0 replies | |
| 20/23 | Modify process.c includes and export freezer state.kernel/ | +8 | 0 replies | |
| 21/23 | Remove unused DEBUG undef.kernel/ | +0 | 0 replies | |
| 22/23 | Modify swsusp to thaw kernel threads while eating memory.kernel/ kernel/ | +7 | 0 replies | |
| 23/23 | Don't scan LRU while freezer is on.mm/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [ 00/23] [Suspend2] Freezer Upgrade Patches
Hi everyone.
This set of patches represents the freezer upgrade patches from Suspend2.
The key features of this changeset are:
- Use of Christoph Lameter's todo list notifiers, which help with SMP cleanness.
- Splitting the freezing of kernel and userspace processes. Freezing currently suffers from a race because userspace processes can be submitting work for kernel threads, thereby stopping them from responding to freeze messages in a timely manner. The freezer can thus give up when it doesn't really need to. (This is not normally a problem only because load is not usually high).
- The use of bdev freezing to ensure filesystems are properly frozen, thereby increasing the integrity of on-disk data in the case where a resume doesn't occur. This is also helpful in the case of Suspend2, where we don't atomically copy all memory, instead writing LRU pages separately.
--
Nigel Cunningham nigel at suspend2 dot net http://suspend2.net