lkml.org 
[lkml]   [2006]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH -mm] update comment in rtmutex.c and friends
Date
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-14 17:33    [W:0.031 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site