Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157814684
D49571.id153592.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
362 B
Referenced Files
None
Subscribers
None
D49571.id153592.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
@@ -1142,6 +1142,9 @@
case SLAB_COOKIE_MALLOC_LARGE:
size = malloc_large_size(slab);
break;
+ case SLAB_COOKIE_CONTIG_MALLOC:
+ size = round_page(contigmalloc_size(slab));
+ break;
default:
__assert_unreachable();
size = 0;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 26, 12:09 PM (23 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33530251
Default Alt Text
D49571.id153592.diff (362 B)
Attached To
Mode
D49571: LinuxKPI: implement krealloc() for memory being contiguous
Attached
Detach File
Event Timeline
Log In to Comment