aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tip/libacu/ventel.c
diff options
context:
space:
mode:
authorAndrew Gallatin <gallatin@FreeBSD.org>2026-10-12 19:50:15 +0000
committerAndrew Gallatin <gallatin@FreeBSD.org>2026-10-12 21:27:26 +0000
commitcdd95034d6f4b5a7abe7d21b2b1a568fa5e906a0 (patch)
tree1d099f9d37a7bfa91d63377ead8e420381bafb30 /usr.bin/tip/libacu/ventel.c
parent2b911d947b5c1157a495454123ea972a18e4743d (diff)
iflib: unify prefetchingHEADmain
This change makes all prefetching use the iflib prefetch wrappers, rather than using prefetch() in some places and __builtin_prefetch() in others. Note that __builtin_prefetch() does not work in the kernel on amd64 as clang disables it when -mnosse is specified, so we must use the asm directives there, and builtin_prefetch() elsewhere. This change enables prefetching on non-x86 (notably arm64), and it enables prefetching in netmap that has been there since day one, but which has never worked. This is a no-op on non-netmap amd64 and i386 Differential Revision: https://reviews.freebsd.org/D60602 Reviewed by: glebius, kbowling Sponsored by: Netflix
Diffstat (limited to 'usr.bin/tip/libacu/ventel.c')
0 files changed, 0 insertions, 0 deletions