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