diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-12-09 21:35:30 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-12-09 21:35:30 +0000 |
commit | bb9b1254fff2ad3ababa3f919b045cc242f40e13 (patch) | |
tree | fbbae3d96a37ed598f44a9ec7a86eb57aa3d9501 /gnu | |
parent | efe6b46e1fd7c7ed1a793082313d6ccff519da7b (diff) |
Fix a bug we've had for ages.
On some sun4m the pagetables must be uncached. This is indicated by the
CPUFLG_CACHEPAGETABLES in cpuinfo.flags. This was done in pmap_bootstrap4m.
The problem is that the CPUFLG_CACHEPAGETABLES is not set until after
pmap_bootstrap4m, so even the machines that could cache the pagetables
had them uncached, reducing performance.
Fix this by creating pmap_cache_enable that is called just after the
cache has been switched on (XXX - actually, we should call it before, but
CPUFLG_CACHEPAGETABLES can be set in the code that enables the cache).
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions