diff options
author | krw <krw@openbsd.org> | 2020-02-15 18:02:00 +0000 |
---|---|---|
committer | krw <krw@openbsd.org> | 2020-02-15 18:02:00 +0000 |
commit | bbd7668b70b9d5f7e274d61d04f4efddbd1e3ea5 (patch) | |
tree | d4edf012c6f371da8ed8656a9f29867aa10b80de /usr.sbin/vmd | |
parent | remove unused function (diff) | |
download | wireguard-openbsd-bbd7668b70b9d5f7e274d61d04f4efddbd1e3ea5.tar.xz wireguard-openbsd-bbd7668b70b9d5f7e274d61d04f4efddbd1e3ea5.zip |
*_minphys() functions that cap i/o sizes at a value larger than the
value minphys() uses (MAXPHYS) are pointless since minphys() is always
called after the *_minphys() function.
MAXPHYS (64 * 1024) == 16 * 4096. 4096 is the smallest PAGE_SIZE we
have. So a *_minphys() function that caps the i/o size at N *
PAGE_SIZE where N is > 16 is just wasting cycles.
Nuke adv_minphys (40 * PAGE_SIZE), adw_minphys (254 * PAGE_SIZE),
ahc_minphys (128 * PAGE_SIZE), ahd_minphys (128 * PAGE_SIZE),
ami_minphys (26 * PAGE_SIZE), cac_minphys (65535 (!!!) * 512),
iha_minphsy (32 * PAGE_SIZE), trm_minphys (31 * PAGE_SIZE),
twe_minphys (62 * PAGE_SIZE). uha_minphys (32 * PAGE_SIZE),
Diffstat (limited to 'usr.sbin/vmd')
0 files changed, 0 insertions, 0 deletions