summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vmd
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2020-02-15 18:02:00 +0000
committerkrw <krw@openbsd.org>2020-02-15 18:02:00 +0000
commitbbd7668b70b9d5f7e274d61d04f4efddbd1e3ea5 (patch)
treed4edf012c6f371da8ed8656a9f29867aa10b80de /usr.sbin/vmd
parentremove unused function (diff)
downloadwireguard-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