HomeFreeBSD

minidump: De-duplicate is_dumpable()

Description

minidump: De-duplicate is_dumpable()

The function is identical in each minidump implementation, so move it to
vm_phys.c. The only slight exception is powerpc where the function was
public, for use in moea64_scan_pmap().

Reviewed by: kib, markj, imp (earlier version)
MFC after: 2 weeks
Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D31884

Details

Provenance
mhorneAuthored on Sep 29 2021, 5:30 PM
Reviewer
kib
Differential Revision
D31884: minidump: De-duplicate is_dumpable()
Parents
rGf66b9b40f403: cmp: add -b, --print-bytes
Branches
Unknown
Tags
Unknown