OS-6957: clean up unused mutex type from bhyve

Details

Issue Type:Improvement
Priority:5 - Low
Status:Resolved
Created at:2018-05-15T17:26:58.667Z
Updated at:2018-10-15T14:34:31.085Z

People

Created by:Patrick Mooney [X]
Reported by:Patrick Mooney [X]
Assigned to:Patrick Mooney [X]

Resolution

Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2018-10-15T14:34:31.079Z)

Related Links

Labels

bhyve

Description

The mutex glue code for bhyve embeds a kmutex_type_t into the struct mtx definition. It is apparently never used anywhere, and its default value of MUTEX_ADAPTIVE is misleading when dealing with spinlocks.

Comments

Comment by Jira Bot
Created at 2018-09-13T15:02:17.035Z

illumos-joyent commit 88b7f8b0d2ce2d1d224879a20f7d36427c5b7707 (branch master, by Patrick Mooney)

OS-7012 bhyve wedged in vlapic cyclics
OS-7016 vmx ctx ops should inform VMRESUME
OS-6957 clean up unused mutex type from bhyve
Reviewed by: John Levon <john.levon@joyent.com>
Reviewed by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
Approved by: Hans Rosenfeld <hans.rosenfeld@joyent.com>