[Bug 53751] bus_dma(9) incorrectly documents BUS_DMA_ALLOCNOW

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 17 00:18:42 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=53751

Oleksandr Tymoshenko <gonzo at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Documentation               |Manual Pages
                 CC|                            |doc at FreeBSD.org
           Assignee|doc at FreeBSD.org             |bugs at FreeBSD.org

PauAmma <pauamma at gundo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pauamma at gundo.com

--- Comment #4 from PauAmma <pauamma at gundo.com> ---
Is this still applicable? That description now reads:

                              BUS_DMA_ALLOCNOW      Pre-allocate enough
                                                    resources to handle at
                                                    least one map load
                                                    operation on this tag.  If
                                                    sufficient resources are
                                                    not available, ENOMEM is
                                                    returned.  This should not
                                                    be used for tags that only
                                                    describe buffers that will
                                                    be allocated with
                                                    bus_dmamem_alloc().  Also,
                                                    due to resource sharing
                                                    with other tags, this flag
                                                    does not guarantee that
                                                    resources will be
                                                    allocated or reserved
                                                    exclusively for this tag.
                                                    It should be treated only
                                                    as a minor optimization.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the freebsd-doc mailing list