Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 2019 18:45:45 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r346851 - head/sys/x86/x86
Message-ID:  <201904281845.x3SIjjWN092008@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sun Apr 28 18:45:44 2019
New Revision: 346851
URL: https://svnweb.freebsd.org/changeset/base/346851

Log:
  Remove witness warning, same as r346351 for busdma_dmar.
  
  bounce_bus_dmamap_create() does not sleep either.
  
  Sponsored by:	Mellanox Technologies
  MFC after:	1 week

Modified:
  head/sys/x86/x86/busdma_bounce.c

Modified: head/sys/x86/x86/busdma_bounce.c
==============================================================================
--- head/sys/x86/x86/busdma_bounce.c	Sun Apr 28 18:44:29 2019	(r346850)
+++ head/sys/x86/x86/busdma_bounce.c	Sun Apr 28 18:45:44 2019	(r346851)
@@ -286,8 +286,6 @@ bounce_bus_dmamap_create(bus_dma_tag_t dmat, int flags
 	struct bounce_zone *bz;
 	int error, maxpages, pages;
 
-	WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL, "%s", __func__);
-
 	error = 0;
 
 	if (dmat->segments == NULL) {



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