Set a higher than default preference.
const SWAP_PREFER: SwapFlags = SwapFlags(SWAP_FLAG_PREFER);
swapon(2) and SWAP_FLAG_PREFER therein