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
Unknown Object (File)
Fri, Jun 7, 8:47 AM
Unknown Object (File)
Thu, Jun 6, 7:26 PM
Unknown Object (File)
Thu, Jun 6, 5:58 PM
Unknown Object (File)
May 14 2024, 3:47 AM
Unknown Object (File)
May 4 2024, 7:40 AM
Unknown Object (File)
May 3 2024, 9:40 AM
Unknown Object (File)
Feb 22 2024, 9:58 PM
Unknown Object (File)
Jan 26 2024, 6:44 PM
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.