HomeFreeBSD

vm_phys_enq_range: no alignment assert for npages==0

Description

vm_phys_enq_range: no alignment assert for npages==0

Do not assume that when vm_phys_enq_range is passed npages==0 that the
vm_page argument is valid in any way, much less that it has a
page-aligned address. Just don't look at it. Assert nothing about it.

Reported by: karels
Differential Revision: https://reviews.freebsd.org/D41317

Details

Provenance
dougmAuthored on Aug 4 2023, 6:41 PM
Differential Revision
D41317: vm_phys_enq_range: no alignment assert for npages==0
Parents
rGa0e20c0ded1a: Limit the number of CPUs in the gicv1/2 driver
Branches
Unknown
Tags
Unknown