Messages in this thread | | | Date | Tue, 15 Feb 2000 12:03:21 -0800 | From | John Hawkes <> | Subject | [PATCH] (2.3.42) revised spinlock metering for ia32 & alpha |
| |
I attach a revised version of the spinlock metering code that I contributed last week. This revision fixes some shortcomings that others pointed out, i.e., reducing ia32 bus locking during spin_lock(), and returning proper error codes and length when doing I/O to /proc/lockmeter. This version also supports lockmetering of Alpha SMP kernels, as well as IA32, thanks to the contributions of Peter Rival.
An updated "lockstat" command is also available from the website: http://oss.sgi.com/projects/lockmeter/download that is compatible with the corrected /proc/lockmeter return values.
Followon work is currently in-progress to implement various enhancements that others have suggested.
-- John Hawkes (hawkes@engr.sgi.com) http://oss.sgi.com[unhandled content-type:application/x-gzip] | |