You can create a swap partition as long as you have free space AND you have less than four primary partitions.
If not, you can still create an empty sparse file, format it with mkswap and swapon it or add it to your fstab and reboot.
About the policies the kernel follow, it's all in the source code. I didn't ever bothered to check but it surely changes with kernel versions.
|