added linux functionality for checking page activity to/from swap