Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F141948609
D33809.id101208.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
647 B
Referenced Files
None
Subscribers
None
D33809.id101208.diff
View Options
Index: sys/vm/swap_pager.c
===================================================================
--- sys/vm/swap_pager.c
+++ sys/vm/swap_pager.c
@@ -633,12 +633,8 @@
vm_cnt.v_page_count / 2;
swpctrie_zone = uma_zcreate("swpctrie", pctrie_node_size(), NULL, NULL,
pctrie_zone_init, NULL, UMA_ALIGN_PTR, 0);
- if (swpctrie_zone == NULL)
- panic("failed to create swap pctrie zone.");
swblk_zone = uma_zcreate("swblk", sizeof(struct swblk), NULL, NULL,
NULL, NULL, _Alignof(struct swblk) - 1, 0);
- if (swblk_zone == NULL)
- panic("failed to create swap blk zone.");
n2 = n;
do {
if (uma_zone_reserve_kva(swblk_zone, n))
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 15, 1:06 AM (4 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27641961
Default Alt Text
D33809.id101208.diff (647 B)
Attached To
Mode
D33809: swap_pager: uma_zcreate() doesn't fail
Attached
Detach File
Event Timeline
Log In to Comment