Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115830626
D25107.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D25107.diff
View Options
Index: head/sys/x86/x86/busdma_bounce.c
===================================================================
--- head/sys/x86/x86/busdma_bounce.c
+++ head/sys/x86/x86/busdma_bounce.c
@@ -407,8 +407,6 @@
vm_memattr_t attr;
int mflags;
- WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL, "%s", __func__);
-
if (flags & BUS_DMA_NOWAIT)
mflags = M_NOWAIT;
else
@@ -492,7 +490,7 @@
}
/*
- * Free a piece of memory and it's allociated dmamap, that was allocated
+ * Free a piece of memory and its associated dmamap, that was allocated
* via bus_dmamem_alloc. Make the same choice for free/contigfree.
*/
static void
Index: head/sys/x86/x86/busdma_machdep.c
===================================================================
--- head/sys/x86/x86/busdma_machdep.c
+++ head/sys/x86/x86/busdma_machdep.c
@@ -223,8 +223,6 @@
struct bus_dma_tag_common *tc;
int error;
- WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL, "%s", __func__);
-
if (parent == NULL) {
error = bus_dma_bounce_impl.tag_create(parent, alignment,
boundary, lowaddr, highaddr, filter, filterarg, maxsize,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 30, 6:57 AM (18 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17853170
Default Alt Text
D25107.diff (1 KB)
Attached To
Mode
D25107: Remove unnecessary WITNESS check in x86 bounce_bus_dmamem_alloc()
Attached
Detach File
Event Timeline
Log In to Comment