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)
Sun, Dec 22, 6:52 PM
Unknown Object (File)
Wed, Dec 11, 4:32 PM
Unknown Object (File)
Mon, Dec 9, 2:16 AM
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

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.