Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110004856
D45407.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
368 B
Referenced Files
None
Subscribers
None
D45407.diff
View Options
diff --git a/sys/sys/pctrie.h b/sys/sys/pctrie.h
--- a/sys/sys/pctrie.h
+++ b/sys/sys/pctrie.h
@@ -84,7 +84,7 @@
if (parentp == NULL) \
return (0); \
parent = allocfn(ptree); \
- if (parent == NULL) \
+ if (__predict_false(parent == NULL)) \
return (ENOMEM); \
pctrie_insert_node(parentp, parent, val); \
return (0); \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 13, 8:53 AM (5 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16625368
Default Alt Text
D45407.diff (368 B)
Attached To
Mode
D45407: pctrie: predict successful allocation
Attached
Detach File
Event Timeline
Log In to Comment