Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102545748
D29125.id85381.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
297 B
Referenced Files
None
Subscribers
None
D29125.id85381.diff
View Options
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c
--- a/sys/kern/kern_malloc.c
+++ b/sys/kern/kern_malloc.c
@@ -537,7 +537,7 @@
#ifdef EPOCH_TRACE
epoch_trace_list(curthread);
#endif
- KASSERT(1,
+ KASSERT(0,
("malloc(M_WAITOK) with sleeping prohibited"));
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 14, 9:18 PM (7 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14633863
Default Alt Text
D29125.id85381.diff (297 B)
Attached To
Mode
D29125: kern: malloc: fix panic on M_WAITOK during THREAD_NO_SLEEPING()
Attached
Detach File
Event Timeline
Log In to Comment