[PATCH] (2.3.42) revised spinlock metering for ia32 & alpha

From: John Hawkes (hawkes@cthulhu.engr.sgi.com)
Date: Tue Feb 15 2000 - 15:03:21 EST


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


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:30 EST