Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Apr 2020 01:39:17 +0000 (UTC)
From:      Conrad Meyer <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r359948 - head/share/man/man9
Message-ID:  <202004150139.03F1dHl0089244@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cem
Date: Wed Apr 15 01:39:17 2020
New Revision: 359948
URL: https://svnweb.freebsd.org/changeset/base/359948

Log:
  bus_dma.9: Remove erroneous usage recommendation
  
  It is not valid to pass BUS_SPACE_UNRESTRICTED to bus_dma_tag_create()'s
  nsegments parameter as it is interpreted as a very large segment count.
  Subsequent allocation operations on the tag will preallocate some multiple of
  that count.  BUS_SPACE_UNRESTRICTED therefore indicates something like:
  malloc(infinity).
  
  Discussed with:	bcr, jhb (earlier version)

Modified:
  head/share/man/man9/bus_dma.9

Modified: head/share/man/man9/bus_dma.9
==============================================================================
--- head/share/man/man9/bus_dma.9	Wed Apr 15 00:36:00 2020	(r359947)
+++ head/share/man/man9/bus_dma.9	Wed Apr 15 01:39:17 2020	(r359948)
@@ -53,7 +53,7 @@
 .\" $FreeBSD$
 .\" $NetBSD: bus_dma.9,v 1.25 2002/10/14 13:43:16 wiz Exp $
 .\"
-.Dd March 27, 2020
+.Dd April 14, 2020
 .Dt BUS_DMA 9
 .Os
 .Sh NAME
@@ -618,9 +618,6 @@ DMA mapping associated with this tag.
 .It Fa nsegments
 Number of discontinuities (scatter/gather segments) allowed
 in a DMA mapped region.
-If there is no restriction,
-.Dv BUS_SPACE_UNRESTRICTED
-may be specified.
 .It Fa maxsegsz
 Maximum size, in bytes, of a segment in any DMA mapped region associated
 with



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