Page MenuHomeFreeBSD

D33809.diff
No OneTemporary

D33809.diff

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

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)

Event Timeline