Page MenuHomeFreeBSD

hyperv: vmbus: remove the per-channel control_work_queue
ClosedPublic

Authored by decui_microsoft.com on Dec 16 2015, 1:49 PM.
Tags
None
Referenced Files
F103520117: D4597.id11348.diff
Tue, Nov 26, 1:13 AM
Unknown Object (File)
Thu, Oct 31, 12:36 AM
Unknown Object (File)
Oct 18 2024, 4:37 AM
Unknown Object (File)
Oct 8 2024, 10:31 PM
Unknown Object (File)
Oct 2 2024, 12:37 PM
Unknown Object (File)
Sep 12 2024, 9:55 PM
Unknown Object (File)
Sep 8 2024, 3:17 PM
Unknown Object (File)
Sep 8 2024, 7:55 AM
Subscribers

Details

Summary

Now vmbus_channel_on_offer() -> vmbus_channel_process_offer() can
safely run on the global hv_vmbus_g_connection.work_queue now.

We remove the per-channel control_work_queue to achieve the proper
serialization of the message handling.

I removed the bogus TODO in vmbus_channel_on_offer(): a vmbus offer
can only come from the parent partition, i.e., the host.

This patch can fix bug
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205156

Signed-off-by: Dexuan Cui <decui@microsoft.com>

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

decui_microsoft.com retitled this revision from to hyperv: vmbus: remove the per-channel control_work_queue.
decui_microsoft.com updated this object.
This revision is now accepted and ready to land.Dec 21 2015, 2:18 PM
delphij edited edge metadata.

Looks good to me.

This revision was automatically updated to reflect the committed changes.

Hi Xin, Thanks for committing this patch!

Can you please commit https://reviews.freebsd.org/D4596 too?
Actually this patch (D4597) depends on D4596. Sorry, I didn't made this clear.