hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/kernel/power/snapshot.c
....@@ -1685,8 +1685,8 @@
16851685 * /sys/power/reserved_size, respectively). To make this happen, we compute the
16861686 * total number of available page frames and allocate at least
16871687 *
1688
- * ([page frames total] + PAGES_FOR_IO + [metadata pages]) / 2
1689
- * + 2 * DIV_ROUND_UP(reserved_size, PAGE_SIZE)
1688
+ * ([page frames total] - PAGES_FOR_IO - [metadata pages]) / 2
1689
+ * - 2 * DIV_ROUND_UP(reserved_size, PAGE_SIZE)
16901690 *
16911691 * of them, which corresponds to the maximum size of a hibernation image.
16921692 *