[PATCH RESEND v3 0/2] PM: hibernate: make compression threads configurable and support dynamic crc arrays

From: Xueqin Luo

Date: Sat Oct 11 2025 - 05:38:42 EST


Hi,

This is v2 of the series to make hibernate compression/decompression
threads configurable and improve scalability.

Changes since v2:
- Reworded commit message to avoid "this patch".
- Introduced helper functions alloc_crc_data() and free_crc_data() to
avoid code duplication for allocation/freeing in both save and load
paths(patch1).

Xueqin Luo (2):
PM: hibernate: dynamically allocate crc->unc_len/unc for configurable
threads
PM: hibernate: make compression threads configurable

kernel/power/swap.c | 82 +++++++++++++++++++++++++++++++++++----------
1 file changed, 64 insertions(+), 18 deletions(-)

--
2.43.0