Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2016 02:02:01 +0000 (UTC)
From:      Sepherosa Ziehau <sephe@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r310800 - stable/10/sys/dev/hyperv/vmbus
Message-ID:  <201612300202.uBU221EG022324@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sephe
Date: Fri Dec 30 02:02:00 2016
New Revision: 310800
URL: https://svnweb.freebsd.org/changeset/base/310800

Log:
  MFC 309704
  
      hyperv/vmbus: Utilize vmbus_chan_run_task()
  
      Sponsored by:   Microsoft
      Differential Revision:  https://reviews.freebsd.org/D8686

Modified:
  stable/10/sys/dev/hyperv/vmbus/vmbus_chan.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/hyperv/vmbus/vmbus_chan.c
==============================================================================
--- stable/10/sys/dev/hyperv/vmbus/vmbus_chan.c	Fri Dec 30 01:59:19 2016	(r310799)
+++ stable/10/sys/dev/hyperv/vmbus/vmbus_chan.c	Fri Dec 30 02:02:00 2016	(r310800)
@@ -772,8 +772,7 @@ vmbus_chan_clear_chmap(struct vmbus_chan
 	struct task chmap_task;
 
 	TASK_INIT(&chmap_task, 0, vmbus_chan_clrchmap_task, chan);
-	taskqueue_enqueue(chan->ch_tq, &chmap_task);
-	taskqueue_drain(chan->ch_tq, &chmap_task);
+	vmbus_chan_run_task(chan, &chmap_task);
 }
 
 static void



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612300202.uBU221EG022324>