tmpfs: convert shmem_writepage and enable swap