Summary: | bus_dma(9) incorrectly documents BUS_DMA_ALLOCNOW | ||
---|---|---|---|
Product: | Documentation | Reporter: | Hartmut Brandt <harti> |
Component: | Manual Pages | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | doc, mhorne, pauamma |
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Hartmut Brandt
2003-06-26 09:30:09 UTC
Responsible Changed From-To: freebsd-doc->hmp This is hmp's manor Responsible Changed From-To: hmp->freebsd-doc For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped 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. It looks like this was fixed by scottl@ in 0f3a007844a7/SVN r136763, but he was unaware of this PR. I did a quick reading of the relevant code, and the current description appears accurate. Thanks all, closing this. |