Load-on-demand. How does the kernel locate the pages on secondary storage?

From: Mohamed El Dawy
Date: Tue Dec 06 2005 - 22:38:08 EST


Hi,
Assume we have a process running, not all the pages of the process
are in main memory. Some are swapped, and some are just not loaded
yet.
How does the kernel locate those pages on disk? Is there a pointer in
the page table? or is there some place else? Any pointers to source
code in the kernel would be greatly appreciated.

Thank you very much.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/