Page MenuHomeFreeBSD

hyperv/hn: Use buf_ring for txdesc list
ClosedPublic

Authored by sepherosa_gmail.com on Feb 16 2016, 5:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 20 2024, 6:38 PM
Unknown Object (File)
Oct 20 2024, 1:06 AM
Unknown Object (File)
Oct 20 2024, 12:48 AM
Unknown Object (File)
Oct 5 2024, 8:52 AM
Unknown Object (File)
Oct 3 2024, 6:06 AM
Unknown Object (File)
Sep 30 2024, 5:01 PM
Unknown Object (File)
Sep 29 2024, 11:26 PM
Unknown Object (File)
Sep 15 2024, 1:24 AM

Details

Summary

So one spinlock is avoided, which would be potentially dangerous for virtual machine, if the spinlock holder was scheduled out by the host as noted by royger.

Old spinlock based txdesc list is still kept around, so we could have a safe fallback.

No performance regression or improvement is observed.

Diff Detail

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

Event Timeline

sepherosa_gmail.com retitled this revision from to hyperv/hn: Use buf_ring for txdesc list.
sepherosa_gmail.com updated this object.
sepherosa_gmail.com edited the test plan for this revision. (Show Details)
adrian edited edge metadata.
This revision is now accepted and ready to land.Feb 17 2016, 7:16 PM
This revision was automatically updated to reflect the committed changes.