]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cache: push sdt probes in cache_zap_locked to code doing the work
authormjg <mjg@FreeBSD.org>
Sun, 12 May 2019 06:39:30 +0000 (06:39 +0000)
committermjg <mjg@FreeBSD.org>
Sun, 12 May 2019 06:39:30 +0000 (06:39 +0000)
commit7e703db4338e6fd0e961a3b0862138a49537a416
treeeb119850ce8a82129b592a8e27c4616534c0acd0
parent1f0d762096cd9a37bcdf27290cca14ad9e7c649f
cache: push sdt probes in cache_zap_locked to code doing the work

Avoids branching to check which probe to evaluate. Very same check was
being done later to do the actual work.

Sponsored by: The FreeBSD Foundation
sys/kern/vfs_cache.c