Re: What does the PG_swapbacked of page flags actually mean?

2013-02-20 Thread common An
On Wed, Feb 20, 2013 at 6:43 PM, common An wrote: > PG_swapbacked is a bit for page->flags. > > In kernel code, its comment is "page is backed by RAM/swap". But I couldn't > understand it. > 1. Does the RAM mean DRAM? How page is backed by RAM? > 2. When the pa

What does the PG_swapbacked of page flags actually mean?

2013-02-20 Thread common An
PG_swapbacked is a bit for page->flags. In kernel code, its comment is "page is backed by RAM/swap". But I couldn't understand it. 1. Does the RAM mean DRAM? How page is backed by RAM? 2. When the page is page-out to swap file, the bit PG_swapbacked will be set to demonstrate this page is backed b