HomeFreeBSD

vm_phys; fix uncalled free_contig

Description

vm_phys; fix uncalled free_contig

Function vm_phys_free_contig does not always free memory properly when
the npages parameter is less than max block size. Change it so that it does.

Note that this function is not currently invoked, and this error was
not triggered in earlier versions of the code.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D42891

Details

Provenance
dougmAuthored on Dec 21 2023, 3:37 AM
Reviewer
markj
Differential Revision
D42891: vm_phys; fix uncalled free_contig
Parents
rGc91cd7d03a9d: lib/libc/amd64/string/strcspn.S: always return earliest match in 17--32 char…
Branches
Unknown
Tags
Unknown