I have a Linux box with a swap partition of size RAM + x. Suppose more than x of the swap is already in use. Now I try to hibernate. Will the kernel
- randomly kill sleeping and/or not sleeping processes until there is enough swap free to hold the RAM
- not hibernate and warn/ask to proceed?
Or will this situation never happen because the kernel always reserves enough swap to safely hibernate?
Can I configure the behavior?
Edit: If this makes a difference, I'm currently using Ubuntu 12.04 with Linux 3.2.0-39-generic and hibernate with pm-hibernate
.