HomeFreeBSD

Correct a type error in kmem_unback(). Previously, kmem_unback() did not

Description

Correct a type error in kmem_unback(). Previously, kmem_unback() did not
correctly handle deallocation requests of two or more gigabytes in size.
Eventually, this would lead to a panic elsewhere in the kernel, such as
"vm_radix_insert: key <vm_pindex_t> is already present".

Reported by: Ilias Marinos
MFC after: 1 week

Details

Provenance
alcAuthored on
Parents
rS284206: Explain why NO_BEFOREBUILD_INCLUDES is needed
Branches
Unknown
Tags
Unknown