diff options
| author | Andrew Gallatin <gallatin@FreeBSD.org> | 2026-08-31 21:13:47 +0000 |
|---|---|---|
| committer | Andrew Gallatin <gallatin@FreeBSD.org> | 2026-08-31 21:17:44 +0000 |
| commit | ebb93ce6d86e6c6abd9d9fada21a3b107099db8f (patch) | |
| tree | e3eadf05111c6ae52f5cf13e0ad876c722ce4dcc /source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp | |
| parent | 6ddb10cf6b7f870d749e96d2ae55976b18896f54 (diff) | |
When _task_fn_admin() is active, it will regularly call
IFDI_UPDATE_ADMIN_STATUS(). So there is no need to do it in
iflib_media_status. This can be fairly expensive on some drivers (long
DELAY busywait loops waiting for a NIC command), and there is no need
to pause a userspace app in this DELAY() if it is happening
asynchronously anyway.
Note the logic to detect if _task_fn_admin() is regularly calling
IFDI_UPDATE_ADMIN_STATUS() was copied from that function.
Reviewed by: erj, kbowling
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D54096
Diffstat (limited to 'source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp')
0 files changed, 0 insertions, 0 deletions
