FreeBSD Bugzilla – Attachment 13337 Details for
Bug 25445
kernel statistics are displayed in wrong types and wrap into negative
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.23 KB, created by
Peter Philipp
on 2001-02-28 05:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Peter Philipp
Created:
2001-02-28 05:10:01 UTC
Size:
1.23 KB
patch
obsolete
>--- malloc.h.orig Tue Feb 27 22:49:28 2001 >+++ malloc.h Tue Feb 27 23:32:55 2001 >@@ -55,9 +55,9 @@ > long ks_memuse; /* total memory held in bytes */ > long ks_limit; /* most that are allowed to exist */ > long ks_size; /* sizes of this thing that are allocated */ >- long ks_inuse; /* # of packets of this type currently in use */ >- int64_t ks_calls; /* total packets of this type ever allocated */ >- long ks_maxused; /* maximum number ever used */ >+ u_int32_t ks_inuse; /* # of packets of this type currently in use */ >+ u_int64_t ks_calls; /* total packets of this type ever allocated */ >+ u_int32_t ks_maxused; /* maximum number ever used */ > u_long ks_magic; /* if it's not magic, don't touch it */ > const char *ks_shortdesc; /* short description */ > u_short ks_limblocks; /* number of times blocked for hitting limit */ >@@ -102,7 +102,7 @@ > struct kmembuckets { > caddr_t kb_next; /* list of free blocks */ > caddr_t kb_last; /* last free block */ >- int64_t kb_calls; /* total calls to allocate this size */ >+ u_int64_t kb_calls; /* total calls to allocate this size */ > long kb_total; /* total number of blocks allocated */ > long kb_elmpercl; /* # of elements in this sized allocation */ > long kb_totalfree; /* # of free elements in this bucket */
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 25445
: 13337 |
13338