Skip to contentSkip to conversation

PG_arch_1

DISCUSSION Tian, Kevin 2 participants 2 messages Dec 7, 2005 – Dec 8, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 13 lines

From: Magenheimer, Dan
(HP Labs Fort Collins)
Sent: 2005年12月7日 9:13

Xenlinux uses a special architecture-dependent bit in the page table, called PG_arch_1 to indicate that a page is "foreign" (PG_foreign). It also apparently uses it to determine if a page is pinned (PG_pinned).

Linux/ia64 (and apparently Linux/ppc and Linux/ppc64) use the PG_arch_1 bit for other purposes. On Linux/ia64, it is used to determine if the instruction cache needs to be flushed (e.g. if writing data into code pages).

Quoted 4 lines

Any thought on this apparent conflict?

Thanks,
Dan

Add a new PG_arch_2, since there're two level architectures within xenlinux world?

Thanks,
Kevin

#1 lore raw
Quoted 6 lines · Kevin
Quoted 4 lines

Any thought on this apparent conflict?

Thanks,
Dan

Add a new PG_arch_2, since there're two level architectures within xenlinux world?

Yes, I think this is the right answer. There are loads of spare bits available to stealing one should be no problem.

-- Keir