Page MenuHomeFreeBSD

hyperv: vmbus: refactor msg handler by replacing swi with task queue
ClosedPublic

Authored by honzhan_microsoft.com on Jan 27 2016, 7:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 22 2023, 10:43 PM
Unknown Object (File)
Dec 19 2023, 4:06 PM
Unknown Object (File)
Dec 19 2023, 3:58 PM
Unknown Object (File)
Dec 19 2023, 3:43 PM
Unknown Object (File)
Dec 3 2023, 9:51 PM
Unknown Object (File)
Dec 2 2023, 10:12 PM
Unknown Object (File)
Dec 1 2023, 5:19 AM
Unknown Object (File)
Nov 22 2023, 6:58 PM

Details

Summary

swi launches ithread to handle msg from host, which is not efficient
enough. Processing the message directly in task queue during software
interrupt is preferred.

Submitted by: Hongjiang Zhang <honzhan microsoft com>

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2283
Build 2292: arc lint + arc unit

Event Timeline

honzhan_microsoft.com retitled this revision from to hyperv: vmbus: refactor msg handler by replacing swi with task queue.
honzhan_microsoft.com updated this object.
sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
539

no need create dedicate task queue. you can use taskqueue_fast directly.

There is another succinct implementation with taskqueue_fast. Please reference https://reviews.freebsd.org/D5215

adrian edited edge metadata.
This revision is now accepted and ready to land.Feb 17 2016, 7:12 PM

a different version with same idea is already committed.