for the answer to: how it's a negative priority, see the last point
If you have enough RAM, your system probably doesn't need the swap at the moment.
There is not much to do, no options to change.
You should only worry if you're getting out of space errors.
So the answer is; your settings look good, let it be.
There are few cases, where changing setting, like priority, from default (set at install time) might be useful.
If you have multiple space volumes, and your fastest is of limited size.
Or if you're occasionally out of memory, but it's not worth to make the main swap bigger.
or a case where a NAS server (the one I have) has swap in raid1 mirrored to all disks, so any could be taken out on the run, but to not waste too much space the ultimate big swap is a file on just one selected volume.
but I actually wanted to add some side points:
- /etc/fstab does not need to contain your swap volume setting. it might be set by a command in one of the init files.
cat /proc/swaps
might be a better way to get the swap info,
or swapon --summary
which should show the same on some swapon versions
and for the dilemma of negative priority.
as per manual: priority is a value between 0 and 32767.
how come there are negative numbers in /proc/swaps?
it just means, the swap was set without specifying an explicit priority
If you don't add a priority yourself, the kernel generates a number
for you. And those numbers are negative.
https://lists.debian.org/debian-user/2002/09/msg01075.html
your -1 priority is ok and because it's the only swap entry, the priority has no effect.