"There is a common misconception that swappiness affects the memory threshold or prevents using swap space, but it only affects the preference for freeing up file pages over swap."
As I understand it, Linux does not preemptively evict idle pages, only as a response to memory pressure.
https://wiki.archlinux.org/title/Swap#Swappiness
"There is a common misconception that swappiness affects the memory threshold or prevents using swap space, but it only affects the preference for freeing up file pages over swap."
As I understand it, Linux does not preemptively evict idle pages, only as a response to memory pressure.