diff options
| author | skrll <skrll@NetBSD.org> | 2020-08-12 13:36:36 +0000 |
|---|---|---|
| committer | skrll <skrll@NetBSD.org> | 2020-08-12 13:36:36 +0000 |
| commit | 11ab3bd2e81b610be21a49ade7d500bc972ae49a (patch) | |
| tree | 2b12ab8d6a8660da8d507441f55d4a81de6715c7 /usr.bin/make/make_malloc.c | |
| parent | 0243d25e9211f35db9309095e3d93c09e4b38b2d (diff) | |
Part IV of ad's performance improvements for aarch64
- Implement pmap_growkernel(), and update kernel pmap's stats with atomics.
- Then, pmap_kenter_pa() and pmap_kremove() no longer need to allocate
memory nor take pm_lock, because they only modify L3 PTEs.
- Then, pm_lock and pp_lock can be adaptive mutexes at IPL_NONE which are
cheaper than spin mutexes.
- Take the pmap's lock in pmap_extract() if not the kernel's pmap, otherwise
pmap_extract() might see inconsistent state.
Diffstat (limited to 'usr.bin/make/make_malloc.c')
0 files changed, 0 insertions, 0 deletions
