Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167609791
D56519.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
700 B
Referenced Files
None
Subscribers
None
D56519.id.diff
View Options
diff --git a/sys/kern/subr_busdma_bounce.c b/sys/kern/subr_busdma_bounce.c
--- a/sys/kern/subr_busdma_bounce.c
+++ b/sys/kern/subr_busdma_bounce.c
@@ -283,11 +283,11 @@
break;
#ifdef dmat_domain
bpage->vaddr = contigmalloc_domainset(PAGE_SIZE,
- M_BOUNCE, DOMAINSET_PREF(bz->domain), M_NOWAIT,
- 0ul, bz->lowaddr, PAGE_SIZE, 0);
+ M_BOUNCE, DOMAINSET_PREF(bz->domain),
+ M_NOWAIT | M_UNPROTECTED, 0ul, bz->lowaddr, PAGE_SIZE, 0);
#else
bpage->vaddr = contigmalloc(PAGE_SIZE, M_BOUNCE,
- M_NOWAIT, 0ul, bz->lowaddr, PAGE_SIZE, 0);
+ M_NOWAIT | M_UNPROTECTED, 0ul, bz->lowaddr, PAGE_SIZE, 0);
#endif
if (bpage->vaddr == NULL) {
free(bpage, M_BUSDMA);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 24, 3:01 AM (8 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34088808
Default Alt Text
D56519.id.diff (700 B)
Attached To
Mode
D56519: busdma_bounce: Allocate bounce buffers as unprotected
Attached
Detach File
Event Timeline
Log In to Comment