HomeFreeBSD

uma: allow uma_zfree_pcu(..., NULL)

Description

uma: allow uma_zfree_pcu(..., NULL)

We already allow free(NULL) and uma_zfree(..., NULL). Make
uma_zfree_pcpu(..., NULL) work as well.
This also means that counter_u64_free(NULL) will work.

These make cleanup code simpler.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D29189

Details

Provenance
kpAuthored on Mar 10 2021, 2:11 PM
Differential Revision
D29189: uma: allow uma_zfree_pcu(..., NULL)
Parents
rGaaf998056ed4: Whitespace cleanup
Branches
Unknown
Tags
Unknown