On e.g. virtual machines with smalls disks and high amount of
memory it doesn't make sense to create large swap space leaving
only a little for the system and user data.
Also change comment to a docstring and document parameters.
Related: rhbz#878907
Signed-off-by: Vratislav Podzimek <vpodzime(a)redhat.com>
Whatever change here, this absolutely will require both a release note
and an update to the relevant knowledge base/installation guide/etc.
pages as well. We need to avoid getting back into the situation where
anaconda's swap algorithm and the documented swap algorithm differ.
- Chris