> > Is there even a reason to have pv_compare() look at these values? Why not > > "sort" strictly based on the pv_entry pointers themselves, or pv->pv_pte? > > Er, this can't be done right on x86, but stayed tuned... yes, (ptp, va) pair is enough. pmap pointer is not strictly needed here. YAMAMOTO Takashi