Re: [PATCH] spinlock metering (2.3.42)

From: Andi Kleen (ak@muc.de)
Date: Wed Feb 09 2000 - 06:14:14 EST


hawkes@sgi.com (John Hawkes) writes:

> Please consider this SMP i386 patch against 2.3.42 to add a "spinlock
> metering"
> enhancement. This patch is also found at:
> http://oss.sgi.com/projects/lockmeter/download/

[...]

The return values in the /proc support functions seem to be wrong. Linux
generally uses negated errnos for errors, you use positive ones.
put_lockmeter_info should return the number of bytes writen when
successfull.

-Andi

-- 
This is like TV. I don't like TV.

- 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:14 EST