PTE --> 2 values??

From: John Smith
Date: Sun Nov 23 2003 - 23:58:42 EST


I saw that Linux is using a 3 level page tables, pgd, pmd and pte. The value
in the pte can refer to an actual page in memory OR an address on the swap
device. How does the kernel distinguish the two values such that if the
value is refering to an swap device address, it will not lookup the address
in memory ??


John.
-
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/