Messages in this thread | | | Date | Thu, 16 Sep 2004 19:20:09 +0000 (UTC) | From | Zwane Mwaikambo <> | Subject | Re: [PATCH 2/3] lockmeter: lockmeter fix for generic_read_trylock |
| |
On Thu, 16 Sep 2004, Ray Bryant wrote:
> Update lockmeter.c with generic_raw_read_trylock fix. > > + * Generic declaration of the raw read_trylock() function, > + * architectures are supposed to optimize this: > + */ > +int __lockfunc generic_raw_read_trylock(rwlock_t *lock) > +{ > + _metered_read_lock(lock, __builtin_return_address(0)); > + return 1; > +}
What's really going on here? I'm slightly confused by the _metered_read_lock usage.
Thanks, Zwane
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |