diff options
author | 2010-12-31 21:22:33 +0000 | |
---|---|---|
committer | 2010-12-31 21:22:33 +0000 | |
commit | 2c51e746fe0c89cb143edc44fe28368aecfae894 (patch) | |
tree | 294e35f62ef5198beb273e0af0199c3b650969ee /usr.sbin/ripd/rde.c | |
parent | Yet another rework of the cache flushing routines. Fixes some bugs, probably (diff) | |
download | wireguard-openbsd-2c51e746fe0c89cb143edc44fe28368aecfae894.tar.xz wireguard-openbsd-2c51e746fe0c89cb143edc44fe28368aecfae894.zip |
Handle writethrough mappings (as opposed to writeback) better:
- a writeback->writethrough downgrade only requires a cache writeback, not a
writeback and invalidate.
- apparently the 88200 does not behave correctly (i.e. according to its
documentation) when a given page is accessed with both writethrough and
writeback cacheability (even though the cache lines are physically indexed
and physically tagged), so make sure to force writeback of writeback pages
when they risk being reused as writethrough (hair_count -= MAXHAIR).
Better coherency in page table backing store cacheability: these need to be
cache invalidated on 88100+88200 (because of hardware update of modified and
used pte bits), and writethrough on 88110.
Diffstat (limited to 'usr.sbin/ripd/rde.c')
0 files changed, 0 insertions, 0 deletions