Lockmeter version 1.4.2 is now available at
http://oss.sgi.com/projects/lockmeter as a patch against the 2.4.0-test7
kernel. It adds tentative support for the ia64 architecture (after the
large
http://www.kernel.org/pub/linux/ports/ia64/linux-2.4.0-test7-ia64/000823
.diff.gz patch has been applied to 2.4.0-test7), in addition to the
existing support of the i386 and mips64 architectures. The Alpha
support is probably still regretably broken (and may likely not even
compile).
If the lockmeter-1.4.2 patch is applied against unadulterated
2.4.0-test7 kernel sources (i.e., without first applying that large ia64
patch), then the patch fails against include/asm-ia64/spinlock.h. This
failure can be ignored for the non-ia64 architectures. (If this patch
failure upsets too many people, then I could break the lockmeter-1.4.2
patch into two parts, although I prefer to keep it a single unified
patchfile).
I term the support for ia64 to be "tentative" in the sense that I have
not to date tested the resulting ia64 SMP kernel against SMP hardware
(although I would be surprised if it didn't work), and there is still a
small timing window in the lockmetering rwlock code that may cause
slightly inaccurate statistics for read locks. The kernel functionality
is nonetheless correct.
John Hawkes
hawkes@xxxxxxxxxxxx
|