mm: frontswap: core frontswap functionality