mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
Grrr. The tlb code is strewn over 3 files and I misread it. Revert
the last change (it was a NOP), and remove the XXX comments that no longer apply.
This commit is contained in:
parent
474c19561b
commit
587bd8bf0a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88744
@ -700,11 +700,7 @@ pmap_kenter(vm_offset_t va, vm_offset_t pa)
|
||||
pte = vtopte(va);
|
||||
opte = *pte;
|
||||
*pte = npte;
|
||||
#ifdef SMP
|
||||
invlpg(va);
|
||||
#else
|
||||
invltlb_1pg(va);
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
@ -717,11 +713,7 @@ pmap_kremove(vm_offset_t va)
|
||||
|
||||
pte = vtopte(va);
|
||||
*pte = 0;
|
||||
#ifdef SMP
|
||||
invlpg(va);
|
||||
#else
|
||||
invltlb_1pg(va);
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -700,11 +700,7 @@ pmap_kenter(vm_offset_t va, vm_offset_t pa)
|
||||
pte = vtopte(va);
|
||||
opte = *pte;
|
||||
*pte = npte;
|
||||
#ifdef SMP
|
||||
invlpg(va);
|
||||
#else
|
||||
invltlb_1pg(va);
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
@ -717,11 +713,7 @@ pmap_kremove(vm_offset_t va)
|
||||
|
||||
pte = vtopte(va);
|
||||
*pte = 0;
|
||||
#ifdef SMP
|
||||
invlpg(va);
|
||||
#else
|
||||
invltlb_1pg(va);
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user