[PATCH 0/3] Shrink time spent in copy_data_pages()

From: Nícolas F. R. A. Prado

Date: Mon May 18 2026 - 17:37:42 EST


This series shrinks the time spent in copy_data_pages(). Patches 1 and 2
are to ease debugging the time spent in that function, while patch 3
does the actual work to allow it to be shorter - based on a module
parameter since it has drawbacks for uncompressed hibernation images.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx>
---
Nícolas F. R. A. Prado (3):
PM: hibernate: Print speed statistics of copy_data_pages()
PM: hibernate: Add platform_enter hibernation test level
PM: hibernate: Allow disabling zero page check in copy_data_pages()

kernel/power/hibernate.c | 13 +++++++++++--
kernel/power/main.c | 1 +
kernel/power/power.h | 1 +
kernel/power/snapshot.c | 42 +++++++++++++++++++++++++++++++-----------
4 files changed, 44 insertions(+), 13 deletions(-)
---
base-commit: ed46b8c4c78fc332340a084eceeb10d762a9cb6d
change-id: 20260518-hibernation-decrease-time-in-copy-data-pages-f9435814666b

Best regards,
--
Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx>