Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148981783
D10100.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
408 B
Referenced Files
None
Subscribers
None
D10100.diff
View Options
Index: head/sys/vm/uma_core.c
===================================================================
--- head/sys/vm/uma_core.c
+++ head/sys/vm/uma_core.c
@@ -1888,6 +1888,9 @@
uma_zone_t res;
bool locked;
+ KASSERT(powerof2(align + 1), ("invalid zone alignment %d for \"%s\"",
+ align, name));
+
/* This stuff is essential for the zone ctor */
memset(&args, 0, sizeof(args));
args.name = name;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 22, 12:39 PM (14 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30049803
Default Alt Text
D10100.diff (408 B)
Attached To
Mode
D10100: Assert that the align parameter to uma_zcreate() is valid.
Attached
Detach File
Event Timeline
Log In to Comment