diff options
author | 2011-01-05 22:18:46 +0000 | |
---|---|---|
committer | 2011-01-05 22:18:46 +0000 | |
commit | 7ea94ade39bd1c868d7521bcab619f612f46c1ed (patch) | |
tree | f9c667852bc1d6a8e480a3cbb27dd33eee776cb5 /sys/dev/usb/files.usb | |
parent | Make copypage() and zeropage() per-cpu function pointers, and use a (diff) | |
download | wireguard-openbsd-7ea94ade39bd1c868d7521bcab619f612f46c1ed.tar.xz wireguard-openbsd-7ea94ade39bd1c868d7521bcab619f612f46c1ed.zip |
Minor optimizations:
- move pte validity checks from pmap_remove_pte() to its callers.
- when iterating over a segment, compute pte address once and increment it
in the loop, instead of recomputing it on every iteration.
Diffstat (limited to 'sys/dev/usb/files.usb')
0 files changed, 0 insertions, 0 deletions