Actually I found out that my answer does not answer your question: Linux does never allocate two copies of the same memory page. Any page that is considered as swap cache is in active use by an application and becomes an anonymous page on swapoff. This raises the question why one would care about the size of swap cache in the first place.
with kind regards Carsten Otte IBM Linux Technology Center / Boeblingen lab -- omnis enim res, quae dando non deficit, dum habetur et non datur, nondum habetur, quomodo habenda est ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/