Posted May 12, 2011 20:01 UTC (Thu) by djwong (subscriber, #23506)
In reply to: Stable pages by jzbiciak
Parent article: Stable pages
I _think_ the swap cache tries to erase all the mappings to a particular page just prior to swapping the page out to disk, and doesn't write the page if it can't. I'm not 100% sure, however, that there isn't a race between the page being mapped back in while the swapout is in progress, so I'll check.