Read only pages (most of libraries and binaries) get “paged out” to the file they came from, not swap.
(They obviously don’t page out, they are just discarded and read again when needed)