FreeBSD Bugzilla – Attachment 211661 Details for
Bug 244118
13-CURRENT Kernel post r357547 hang during boot on PowerMac G5Q
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
slb_zone_init: unconditional UMA_ZONE_CONTIG
slb_zone_init-contig-1.diff (text/plain), 930 bytes, created by
Ryan Libby
on 2020-02-15 05:45:34 UTC
(
hide
)
Description:
slb_zone_init: unconditional UMA_ZONE_CONTIG
Filename:
MIME Type:
Creator:
Ryan Libby
Created:
2020-02-15 05:45:34 UTC
Size:
930 bytes
patch
obsolete
>diff --git a/sys/powerpc/aim/slb.c b/sys/powerpc/aim/slb.c >index ab9dde4ee69b..5a9971a12cbf 100644 >--- a/sys/powerpc/aim/slb.c >+++ b/sys/powerpc/aim/slb.c >@@ -523,18 +523,12 @@ slb_uma_real_alloc(uma_zone_t zone, vm_size_t bytes, int domain, > static void > slb_zone_init(void *dummy) > { >- uint32_t allocf_flags; >- >- allocf_flags = 0; >- if (platform_real_maxaddr() != VM_MAX_ADDRESS) >- allocf_flags = UMA_ZONE_CONTIG; >- > slbt_zone = uma_zcreate("SLB tree node", sizeof(struct slbtnode), > NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, >- allocf_flags | UMA_ZONE_VM); >+ UMA_ZONE_CONTIG | UMA_ZONE_VM); > slb_cache_zone = uma_zcreate("SLB cache", > (n_slbs + 1)*sizeof(struct slb *), NULL, NULL, NULL, NULL, >- UMA_ALIGN_PTR, allocf_flags | UMA_ZONE_VM); >+ UMA_ALIGN_PTR, UMA_ZONE_CONTIG | UMA_ZONE_VM); > > if (platform_real_maxaddr() != VM_MAX_ADDRESS) { > uma_zone_set_allocf(slb_cache_zone, slb_uma_real_alloc);
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 244118
:
211651
|
211652
| 211661 |
211663
|
211664