[PATCH v2 2/3] mutex: add support for reservation style locks, v2

Steven Rostedt rostedt at goodmis.org
Tue Apr 9 15:18:30 PDT 2013


On Tue, Apr 02, 2013 at 06:59:14PM +0200, Peter Zijlstra wrote:
> 
> So how about we call the thing something like:
> 
>   struct ww_mutex; /* wound/wait */

Reading this I can't help but think of Elmer Fudd saying "Round Robin"
as "Wound Wobin"

-- Steve

> 
>   int mutex_wound_lock(struct ww_mutex *); /* returns -EDEADLK */
>   int mutex_wait_lock(struct ww_mutex *);  /* does not fail */
> 


More information about the dri-devel mailing list