mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Update two tracepoints, i.e., CTRx() invocations, to reflect the demise of
page coloring a few months ago.
This commit is contained in:
parent
c5860546c4
commit
c07f36f742
@ -838,10 +838,9 @@ pmap_kenter(vm_offset_t va, vm_page_t m)
|
||||
CTR4(KTR_PMAP, "pmap_kenter: va=%#lx pa=%#lx tp=%p data=%#lx",
|
||||
va, VM_PAGE_TO_PHYS(m), tp, tp->tte_data);
|
||||
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",
|
||||
CTR5(KTR_CT2,
|
||||
"pmap_kenter: off colour va=%#lx pa=%#lx o=%p ot=%d pi=%#lx",
|
||||
va, VM_PAGE_TO_PHYS(m), m->object,
|
||||
m->object ? m->object->pg_color : -1,
|
||||
m->object ? m->object->type : -1,
|
||||
m->pindex);
|
||||
PMAP_STATS_INC(pmap_nkenter_oc);
|
||||
|
@ -118,10 +118,9 @@ tsb_tte_enter(pmap_t pm, vm_page_t m, vm_offset_t va, u_long sz, u_long data)
|
||||
int i;
|
||||
|
||||
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",
|
||||
CTR5(KTR_CT2,
|
||||
"tsb_tte_enter: off colour va=%#lx pa=%#lx o=%p ot=%d pi=%#lx",
|
||||
va, VM_PAGE_TO_PHYS(m), m->object,
|
||||
m->object ? m->object->pg_color : -1,
|
||||
m->object ? m->object->type : -1,
|
||||
m->pindex);
|
||||
if (pm == kernel_pmap)
|
||||
|
Loading…
Reference in New Issue
Block a user