]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 297635
authorsephe <sephe@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 15 Jun 2016 09:52:01 +0000 (09:52 +0000)
committersephe <sephe@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 15 Jun 2016 09:52:01 +0000 (09:52 +0000)
commit88840ebabfa394533cb5f24105306eeeb30d0c04
tree05019b6cebf392f91efe39e76a5e1d244dd52490
parent0a27f9d6fc4d185ef66cbaffdda8fd3c8c677eac
MFC 297635

    hyperv/vmbus: Use default mtx for channel message queue

    First of all sema_post() can't be called w/ spinlock, and the channel
    message queue processing is not on hot code path, i.e. spinlock is not
    necessary.

    Submitted by:       Jun Su <junsu microsoft com>
    Reviewed by:        sephe, Dexuan Cui <decui microsoft com>
    MFC after:  1 week
    Sponsored by:       Microsoft OSTC
    Differential Revision:      https://reviews.freebsd.org/D5812

git-svn-id: svn://svn.freebsd.org/base/stable/10@301925 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/hyperv/vmbus/hv_channel.c
sys/dev/hyperv/vmbus/hv_channel_mgmt.c
sys/dev/hyperv/vmbus/hv_connection.c