>>>>> "Tony" == Tony Luck <Luck> writes:
>> + if ((mapped_space_bits - PAGE_SHIFT > vmlpt_bits - pte_bits) ||
>> (mapped_space_bits > impl_va_bits - 1))
Tony> I can't quite wrap my brain around what the first half of this
Tony> test is checking. It triggers for a 64K pagesize when
Tony> impl_va_bits is 51..54, but what does it mean?
mapped_space_bits-PAGE_SHIFT is the number of ptes needed to map the
address space. vmlpt_bits-pte_bits is the number of slots available.
The second half of the test is mneant to catch holes.
If mapped_space_bits > impl_va_bits-1 then the mapped space overlaps
the address space hole (although that should probably be
((mapped_space_bits > impl_va_bits-1) && (impl_va_bits < 61))
)
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
The technical we do immediately, the political takes *forever*
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html