Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 48075 Details for
Bug 77301
procps: slabinfo format version change in Linux v2.6.10 caused slabtop failure
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to have slabtop working again with linux >= 2.6.10
slabinfo21_is_slabinfo20.patch (text/plain), 702 bytes, created by
Mathieu Segaud
on 2005-01-09 18:19:12 UTC
(
hide
)
Description:
patch to have slabtop working again with linux >= 2.6.10
Filename:
MIME Type:
Creator:
Mathieu Segaud
Created:
2005-01-09 18:19:12 UTC
Size:
702 bytes
patch
obsolete
>diff -Naur procps-3.2.4/proc/slab.c procps-3.2.4.patched/proc/slab.c >--- procps-3.2.4/proc/slab.c 2004-07-19 04:27:26.000000000 +0200 >+++ procps-3.2.4.patched/proc/slab.c 2004-12-11 15:07:34.574244208 +0100 >@@ -169,6 +169,8 @@ > return 0; > } > >+#define parse_slabinfo21 parse_slabinfo20 >+ > /* > * parse_slabinfo11 - actual parsing routine for slabinfo 1.1 (2.4 kernels) > */ >@@ -295,7 +297,9 @@ > return 1; > } > >- if (major == 2 && minor == 0) >+ if (major == 2 && minor == 1) >+ ret = parse_slabinfo21(list, stats, slabfile); >+ else if (major == 2 && minor == 0) > ret = parse_slabinfo20(list, stats, slabfile); > else if (major == 1 && minor == 1) > ret = parse_slabinfo11(list, stats, slabfile);
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 77301
: 48075