diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2007-06-27 16:16:54 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2007-06-27 16:16:54 +0000 |
commit | 90ed0d1897431034355c3e2f3a7f77f80049772b (patch) | |
tree | e0ed61e709edad05e6021a7e3ad4b68d8dcf26f2 /usr.sbin/vipw | |
parent | dbb0c5c750b0620e2d8cabd5989405776473c704 (diff) |
According to Intel errata:
"AI91 - Update of attribute bits on page directories without immediate
tlb shootdown may cause unexpected processor behavior.".
When we're allocating kernel page tables, we use the generic page table
allocation function that sets PG_u then we immediately remove the PG_u.
This might not be enough, because the PDE can get preloaded into the
translation cache before we clear the PG_u. So even without the errata,
this could cause us horrible trouble.
Instead of first entering the PDE with PG_u and then removing it for
kernel page tables, just enter it with the right bits every time.
tom@ ok
Diffstat (limited to 'usr.sbin/vipw')
0 files changed, 0 insertions, 0 deletions