[PATCH v7 2/8] mm/swapops: Rework swap entry manipulation code