> I'm not too worried about not walking the page tables, > because swap is an extreme slow path anyway.
it was more about taking less locks and doing less mappings. Especially highmem pte mappings can be quite expensive, because they have to flush parts of the TLB.
-Andi
-- ak@linux.intel.com -- Speaking for myself only.