Linux kernel version 2.6.10 recently released exhibits slabinfo format version 2.1 so slabtop doesn't work anymore However, 2.0 and 2.1 formats seem compatible wrt slabinfoXX function. Trivial patch below solved the problem, however I do not know whether it is the right way (macros...).
Created attachment 48075 [details, diff] patch to have slabtop working again with linux >= 2.6.10 I find this patch ugly. I guess a better fix could be introduced. However, it works :)
A better short-term patch is: - if (major == 2 && minor == 0) + if (major == 2 && minor <= 1) Until upstream puts out an update that uses the new nodeallocs field.
be nice if you mentioned the packages these things belong to ;)
added patch from upstream cvs and released 3.2.4-r1 thanks regala & albert !