HomeFreeBSD

Optimize the is_l2cacheable functions

Description

Optimize the is_l2cacheable functions

by placing the most common use case (no special vdevs) first and avoid
allocating new variables.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Amanakis <gamanakis@gmail.com>
Closes #14494
Closes #14563

Details

Provenance
g_amanakis_yahoo.comAuthored on Mar 7 2023, 12:13 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 7 2023, 5:07 PM
Parents
rG9d2e5c14b2f9: System-wide speculative prefetch limit.
Branches
Unknown
Tags
Unknown

Event Timeline