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)
Sun, Nov 9, 5:11 AM
Unknown Object (File)
Sat, Nov 8, 2:47 PM
Unknown Object (File)
Thu, Nov 6, 3:27 PM
Unknown Object (File)
Fri, Oct 31, 3:47 PM
Unknown Object (File)
Fri, Oct 31, 11:06 AM
Unknown Object (File)
Fri, Oct 31, 11:06 AM
Unknown Object (File)
Fri, Oct 31, 5:39 AM
Unknown Object (File)
Oct 6 2025, 2:26 AM

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.