Under high memory pressure, if there are processes with massive shared memory, would linux swap out these shared memory pages just like it would regular memory pages? Does swapping behavior differ for shared memory in any way?
What about when hugepages are being used by the process? Would that make any difference in swapping policy under memory pressure?