Avoid segments greater than maxsegsz during map merging
authorjan <jan@openbsd.org>
Wed, 18 Oct 2023 14:24:29 +0000 (14:24 +0000)
committerjan <jan@openbsd.org>
Wed, 18 Oct 2023 14:24:29 +0000 (14:24 +0000)
commitd987d4292a61ac9fa80adafd18b5044239366906
tree03b0ae52a05751ea9ff12313b171a2f5e3b6c7f7
parentf74f5620224821c80020edcbd5b9b6fbd7610f4e
Avoid segments greater than maxsegsz during map merging

Found with hints from kettenis@

Tested on Sun-Fire-V215.
Also tested on U2 and UltraBook IIe by miod@

ok miod@
sys/arch/sparc64/dev/iommu.c