public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* What is the active page in Linux kernel, so inactive?
@ 2007-03-30 13:55 Bin Chen
  0 siblings, 0 replies; only message in thread
From: Bin Chen @ 2007-03-30 13:55 UTC (permalink / raw)
  To: linux-kernel

I am quite confusing about the concept that Linux usage of the term
active and inactive pages. Some book tells me active pages is the
'working set' in system, but what is the 'working set'? There is a
page cache system in the system, and when a page is freed when not
needed by some way, the page will first considered be added to the
page cache. Once some stuff need more pages, it also get it from page
cache.

So it is easy to understand that there is two list in the page cache,
one for 'used' pages, that is, the page actually used by some one. And
the other one is 'unused', that is, unused by any one but is still
cached.

But I doubt whether the 'used' and 'unused' correspond to active and
inactive correctly? If I am right, when the system memory is tight,
the pages in the active list will be swapped out and the pages will be
added to the inactive list? Or the pages that has swapped out go
directly to the buddy allocator?

Thanks in advance.

abai

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-30 13:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-30 13:55 What is the active page in Linux kernel, so inactive? Bin Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox