Making swapping scalable
Making swapping scalable
Posted Oct 28, 2016 4:38 UTC (Fri) by caritas (subscriber, #50896)Parent article: Making swapping scalable
The cluster lock doesn't help scalability of swap space allocation and freeing. For swap space allocation and freeing, the global lock in swap_info_struct will still be used. So we need swap space allocation and freeing batching to reduce its contention. The cluster lock mainly helps operations like swap_duplicate(), swp_swapcount(), etc.
