HomeFreeBSD

Micro-optimize uma_small_alloc(). Replace bzero(..., PAGE_SIZE) by

Description

Micro-optimize uma_small_alloc(). Replace bzero(..., PAGE_SIZE) by
pagezero(). Ultimately, they use the same method for bulk zeroing, but
the generality of bzero() requires size and alignment checks that
pagezero() does not.

Eliminate an unnecessary #include.

Reviewed by: emaste, markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D26876

Details

Provenance
alcAuthored on
Reviewer
emaste
Differential Revision
D26876: Micro-optimize arm64's uma_small_alloc()
Parents
rS366943: Add a new CCP device ID found on my Ryzen 5 3600XT.
Branches
Unknown
Tags
Unknown