Re: [PATCH -mm] update comment in rtmutex.c and friends

From: Ingo Oeser
Date: Sun May 14 2006 - 11:31:55 EST


Hi Steven,

On Sunday, 14. May 2006 01:34, Steven Rostedt wrote:
> @@ -46,9 +46,15 @@
> *
> * The fast atomic compare exchange based acquire and release is only
> * possible when bit 0 and 1 of lock->owner are 0.
> + *
> + * (*) There's a small time where the owner can be NULL and the
> + * "lock has waiters" bit is set. This can happen when grabbing the lock.
> + * To prevent a cmpxchg of the owner releasing the lock, we need to set this
> + * bit before looking at the lock, hence the reason this is a transitional
> + * state.
> */
>
> -static void
> +static vid

Typo here.

> rt_mutex_set_owner(struct rt_mutex *lock, struct task_struct *owner,
> unsigned long mask)
> {
> @@ -365,6 +371,7 @@ static int try_to_take_rt_mutex(struct r

PS: Compile testing ANY changes to *.c and *.h files
will catch most obvious brown paper bag typos for you :-)

Regards

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