Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2012 14:44:31 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r239906 - head/share/man/man9
Message-ID:  <201208301444.q7UEiVKu059511@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Thu Aug 30 14:44:30 2012
New Revision: 239906
URL: http://svn.freebsd.org/changeset/base/239906

Log:
  Clarify that bus_dma does not stall future load requests once a load is
  deferred.  The caller is required to enforce that if that is desired.
  
  MFC after:	2 weeks

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

Modified: head/share/man/man9/bus_dma.9
==============================================================================
--- head/share/man/man9/bus_dma.9	Thu Aug 30 12:18:45 2012	(r239905)
+++ head/share/man/man9/bus_dma.9	Thu Aug 30 14:44:30 2012	(r239906)
@@ -580,8 +580,13 @@ The status of the mapping has been deliv
 The mapping has been deferred for lack of resources.
 The callback will be called as soon as resources are available.
 Callbacks are serviced in FIFO order.
-To ensure that ordering is guaranteed, all subsequent load requests will also
-be deferred until all callbacks have been processed.
+.Pp
+Note that subsequent load operations for the same tag that do not require
+extra resources will still succeed.
+This may result in out-of-order processing of requests.
+If the caller requires the order of requests to be preserved,
+then the caller is required to stall subsequent requests until a pending
+request's callback is invoked.
 .It Er ENOMEM
 The load request has failed due to insufficient resources, and the caller
 specifically used the



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