FreeBSD Bugzilla – Attachment 208284 Details for
Bug 241048
After r349840, OOM reported when swap space is available.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
debug patch
vm_page.c.diff (text/plain), 719 bytes, created by
Mark Johnston
on 2019-10-13 18:34:22 UTC
(
hide
)
Description:
debug patch
Filename:
MIME Type:
Creator:
Mark Johnston
Created:
2019-10-13 18:34:22 UTC
Size:
719 bytes
patch
obsolete
>diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c >index cbbdabd816a3..cc15bc26fa9e 100644 >--- a/sys/vm/vm_page.c >+++ b/sys/vm/vm_page.c >@@ -224,9 +224,12 @@ vm_page_init_cache_zones(void *dummy __unused) > * memory. A UMA bucket contains at most 256 free pages, and we > * have two buckets per CPU per free pool. > */ >+ printf("%s:%d domain %d ncpus %d page count %u\n", __func__, __LINE__, >+ domain, mp_ncpus, vmd->vmd_page_count); > if (vmd->vmd_page_count / 600 < 2 * 256 * mp_ncpus * > VM_NFREEPOOL) > continue; >+ printf("%s:%d allocating page caches\n", __func__, __LINE__); > for (pool = 0; pool < VM_NFREEPOOL; pool++) { > pgcache = &vmd->vmd_pgcache[pool]; > pgcache->domain = domain;
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 241048
:
208104
|
208105
|
208118
|
208237
|
208276
| 208284