.. | .. |
---|
1685 | 1685 | * /sys/power/reserved_size, respectively). To make this happen, we compute the |
---|
1686 | 1686 | * total number of available page frames and allocate at least |
---|
1687 | 1687 | * |
---|
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) |
---|
1690 | 1690 | * |
---|
1691 | 1691 | * of them, which corresponds to the maximum size of a hibernation image. |
---|
1692 | 1692 | * |
---|