HomeFreeBSD

vm_pager_allocate(): override resulting object type

Description

vm_pager_allocate(): override resulting object type

For dynamically allocated pager type, which inherits the parent's alloc
method, type of the returned object is set to the parent's type
otherwise.

Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D37097

Details

Provenance
kibAuthored on Dec 4 2022, 12:37 AM
Differential Revision
D37097: tmpfs: for used pages, account really allocated pages, instead of file sizes
Parents
rGec201dddfbdd: vm_pager: add method to veto page allocation
Branches
Unknown
Tags
Unknown