FreeBSD Bugzilla – Attachment 216478 Details for
Bug 248008
i386 system can hang with many processes sleeping on btalloc post base r358097
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Ryan Libby's suggestion #2 way to fix this
uma.patch (text/plain), 718 bytes, created by
Rick Macklem
on 2020-07-16 02:34:39 UTC
(
hide
)
Description:
Ryan Libby's suggestion #2 way to fix this
Filename:
MIME Type:
Creator:
Rick Macklem
Created:
2020-07-16 02:34:39 UTC
Size:
718 bytes
patch
obsolete
>--- kern/subr_vmem.c.sav 2020-06-22 22:00:38.411756000 -0700 >+++ kern/subr_vmem.c 2020-07-01 17:04:47.118496000 -0700 >@@ -668,10 +668,14 @@ vmem_startup(void) > vmem_zone = uma_zcreate("vmem", > sizeof(struct vmem), NULL, NULL, NULL, NULL, > UMA_ALIGN_PTR, 0); >+#ifdef UMA_MD_SMALL_ALLOC > vmem_bt_zone = uma_zcreate("vmem btag", > sizeof(struct vmem_btag), NULL, NULL, NULL, NULL, > UMA_ALIGN_PTR, UMA_ZONE_VM); >-#ifndef UMA_MD_SMALL_ALLOC >+#else >+ vmem_bt_zone = uma_zcreate("vmem btag", >+ sizeof(struct vmem_btag), NULL, NULL, NULL, NULL, >+ UMA_ALIGN_PTR, UMA_ZONE_VM | UMA_ZONE_NOFREE); > mtx_init(&vmem_bt_lock, "btag lock", NULL, MTX_DEF); > uma_prealloc(vmem_bt_zone, BT_MAXALLOC); > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 248008
: 216478 |
217173
|
217196
|
217268