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)
Dec 23 2023, 6:39 AM
Unknown Object (File)
Dec 20 2023, 12:09 AM
Unknown Object (File)
Nov 22 2023, 8:44 AM
Unknown Object (File)
Nov 10 2023, 1:45 PM
Unknown Object (File)
Nov 5 2023, 3:23 AM
Unknown Object (File)
Aug 13 2023, 5:10 PM
Unknown Object (File)
Aug 13 2023, 5:55 AM
Unknown Object (File)
Aug 6 2023, 6:09 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.