HomeFreeBSD

Check paddr for overflow.

Description

Check paddr for overflow.
Fix panic on initialize of "vm reserv" per-superpage lock in case when RAM ends at upper boundary of address space.
Observed on ARM32 board BPI-R2 (2GB RAM 0x80000000-0xffffffff).

PR: 235362
Reviewed by: kib, markj, alc
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D21272

Details

Committed
rayAug 16 2019, 7:27 PM
Reviewer
kib
Differential Revision
D21272: Fix 'lock "vm reserv" already initialized' panic.
Parents
rS351132: md(4): remove the unused and unusable MDIOCLIST ioctl.
Branches
Unknown
Tags
Unknown