FreeBSD Bugzilla – Attachment 124707 Details for
Bug 168212
[kernel] [patch] some suggested additions for uma_core.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 840 bytes, created by
Mark Linimon
on 2012-05-22 04:10:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Mark Linimon
Created:
2012-05-22 04:10:02 UTC
Size:
840 bytes
patch
obsolete
>Index: uma_core.c >=================================================================== >RCS file: /home/FreeBSD/ncvs/src/sys/vm/uma_core.c,v >retrieving revision 1.173 >diff -u -r1.173 uma_core.c >--- uma_core.c 27 Jan 2012 20:18:31 -0000 1.173 >+++ uma_core.c 22 May 2012 02:57:20 -0000 >@@ -3160,6 +3160,10 @@ > keg->uk_ipers, keg->uk_ppera, > (keg->uk_ipers * keg->uk_pages) - keg->uk_free, keg->uk_free, > (keg->uk_maxpages / keg->uk_ppera) * keg->uk_ipers); >+ printf("pages %d maxpages %d slabzone %p\n", >+ keg->uk_pages, >+ keg->uk_maxpages, >+ keg->uk_slabzone); > printf("Part slabs:\n"); > LIST_FOREACH(slab, &keg->uk_part_slab, us_link) > slab_print(slab); >@@ -3388,3 +3392,10 @@ > } > } > #endif >+ >+DB_SHOW_COMMAND(kegs, db_show_kegs) >+{ >+ db_printf("master kegs at %p:\n", kegs); >+ uma_print_zone(kegs); >+} >+#endif
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 168212
: 124707