Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102553212
D33809.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
612 B
Referenced Files
None
Subscribers
None
D33809.diff
View Options
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c
--- a/sys/vm/swap_pager.c
+++ b/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, Nov 14, 11:29 PM (9 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14635213
Default Alt Text
D33809.diff (612 B)
Attached To
Mode
D33809: swap_pager: uma_zcreate() doesn't fail
Attached
Detach File
Event Timeline
Log In to Comment