[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CANZA+xgXcwQe8S3+HfaF4QRCTB-XoWS0pvtO4CJT0CT0MMQZqQ@mail.gmail.com>
Date: Wed, 20 Feb 2013 18:44:23 +0800
From: common An <xx.kernel@...il.com>
To: linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: What does the PG_swapbacked of page flags actually mean?
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 by swap. Is it right?
3. In general, when will call SetPageSwapBacked() to set the bit?
Could anybody kindly explain for me?
Thanks very much.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists