diff options
| author | Andrew Gallatin <gallatin@FreeBSD.org> | 2026-10-12 19:50:15 +0000 |
|---|---|---|
| committer | Andrew Gallatin <gallatin@FreeBSD.org> | 2026-10-12 21:27:26 +0000 |
| commit | cdd95034d6f4b5a7abe7d21b2b1a568fa5e906a0 (patch) | |
| tree | 1d099f9d37a7bfa91d63377ead8e420381bafb30 /sys/dev/syscons/star/star_saver.c | |
| parent | 2b911d947b5c1157a495454123ea972a18e4743d (diff) | |
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 'sys/dev/syscons/star/star_saver.c')
0 files changed, 0 insertions, 0 deletions
