diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2009-04-23 07:42:03 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2009-04-23 07:42:03 +0000 |
commit | 18121a65baee8e6d183e35718322c538346404b2 (patch) | |
tree | 380d5da9d7c0c6f93daaa67d0847668284368ebb /usr.sbin/btctl | |
parent | 6907a4b181a62262158dcd13b0f8be32fc89ee19 (diff) |
Make pmap_deactivate a NOP.
Instead of keeping a bitmask of on which cpu the pmap might be active which
we clear in pmap_deactivate, always keep a pointer to the currently loaded
pmap in cpu_info. We can now optimize a context switch to the kernel pmap
(idle and kernel threads) to keep the previously loaded pmap still loaded
and then reuse that pmap if we context switch back to the same process.
Introduce a new IPI to force a pmap reload before the pmap is destroyed.
Clean up cpu_switchto.
toby@ ok
Diffstat (limited to 'usr.sbin/btctl')
0 files changed, 0 insertions, 0 deletions