mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
Prepare for the new physical memory allocator: Change the way that the
physical page's color is obtained. Approved by: re
This commit is contained in:
parent
cdcc788a7e
commit
518538603d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170249
@ -830,7 +830,7 @@ pmap_kenter(vm_offset_t va, vm_page_t m)
|
||||
tp = tsb_kvtotte(va);
|
||||
CTR4(KTR_PMAP, "pmap_kenter: va=%#lx pa=%#lx tp=%p data=%#lx",
|
||||
va, VM_PAGE_TO_PHYS(m), tp, tp->tte_data);
|
||||
if (m->pc != DCACHE_COLOR(va)) {
|
||||
if (DCACHE_COLOR(VM_PAGE_TO_PHYS(m)) != DCACHE_COLOR(va)) {
|
||||
CTR6(KTR_CT2,
|
||||
"pmap_kenter: off colour va=%#lx pa=%#lx o=%p oc=%#lx ot=%d pi=%#lx",
|
||||
va, VM_PAGE_TO_PHYS(m), m->object,
|
||||
|
@ -117,7 +117,7 @@ tsb_tte_enter(pmap_t pm, vm_page_t m, vm_offset_t va, u_long sz, u_long data)
|
||||
int b0;
|
||||
int i;
|
||||
|
||||
if (m->pc != DCACHE_COLOR(va)) {
|
||||
if (DCACHE_COLOR(VM_PAGE_TO_PHYS(m)) != DCACHE_COLOR(va)) {
|
||||
CTR6(KTR_CT2,
|
||||
"tsb_tte_enter: off colour va=%#lx pa=%#lx o=%p oc=%#lx ot=%d pi=%#lx",
|
||||
va, VM_PAGE_TO_PHYS(m), m->object,
|
||||
|
Loading…
Reference in New Issue
Block a user