Consider that I'm using two users at distinct times on my PC. They both need ram that causes swapping if I switch from one to the other.
One solution is to log-out of one user and then log-in to (Gnome|KDE|xfce|...) the other and hope that everything is restored. This seems time-consuming to check all opened correctly.
Instead of these, is it possible to hibernate and resume the session so that the session can continue easily?