You're proudly proclaiming your lack of desire to learn or discuss on a forum meant for those things.
Go to Reddit. That's the right place for you.
You're proudly proclaiming your lack of desire to learn or discuss on a forum meant for those things.
Go to Reddit. That's the right place for you.
Swap on primary partitions also complicates dump and restore, although hardly anyone seems to know what backups are now.
https://utcc.utoronto.ca/~cks/space/blog/linux/HowSwapFindsB...
And there are many things that complicate dump and restore. Dump and restore often need to account for what partitions were created, anyway, so don't swap partitions also complicate it?
https://utcc.utoronto.ca/~cks/space/blog/sysadmin/SwapfileAn...
https://lkml.iu.edu/hypermail/linux/kernel/2103.0/06524.html
The bug is in here: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...
This was 2021, and while this bug is fixed, maybe take Linus's advice. Rely on a partition for primary swap, and only add files if you need to. Don't put them on the root partition, preferably a second disk.
I can't resolve your links but this is a good reference: https://kernel-internals.org/mm/swapping/
Normally dump skips swap partitions entirely, and doesn't know anything about partitioning. Swap will refuse to activate on a non-mkswap partition so there is reasonable protection when you're migrating.
https://github.com/SymbioticLab/Infiniswap
Great hack for when you have a massive working set but don't want to rewrite the code to be distributed/parallel.