I don't get it. Why do you insist swap device must not be touched unless the
system is suffering severe memory shortage? If the anonymous pages are only
written out under dire shortage, you'll have to wait longer for memory to
get freed. If you never face the shortage - well, then, you don't. That's
it, no harm done swap-backing the pages. And remember, the fact that
something is written to swap doesn't mean it couldn't still exist in memory.
Why would do you wan't the swap device not to be touched when there's
nothing else going on? I mean, if you don't want the system to use the swap
device, don't configure one.
-- v --
v@iki.fi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/