RE: [rfc] dynamic 3-level / 4-level page table

From: Chen, Kenneth W <kenneth.w.chen_at_intel.com>
Date: 2006-04-29 03:16:25
Zoltan Menyhart wrote on Friday, April 28, 2006 1:58 AM
> Could you please describe how e.g. the VHPT miss handler works
> with the modification?
> Especially the "LOAD_PGD()" related operations.

LOAD_PGD() is a clone of pud_offset():

+#define pud_offset(dir,addr)	((pud_t *) (pgtbl3 ? (u64) (dir) : pgd_page(*(dir))) + \
+				(((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)))

Except pgtbl3 condition is evaluated only once at boot time.
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sat Apr 29 03:17:03 2006

This archive was generated by hypermail 2.1.8 : 2006-04-29 03:17:20 EST