mm: modify swap_map and add SWAP_HAS_CACHE flag