[PATCH v4 1/9] mm/shmem, swap: improve cached mTHP handling and fix potential hung