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

Peter Zijlstra a.p.zijlstra at chello.nl
Tue Apr 2 04:00:32 PDT 2013


On Thu, 2013-02-28 at 11:25 +0100, Maarten Lankhorst wrote:
> +Reservation type mutexes

> +struct ticket_mutex {

> +extern int __must_check _mutex_reserve_lock(struct ticket_mutex *lock,

That's two different names and two different forms of one (for a total
of 3 variants) for the same scheme.

FAIL...

Also, is there anything in CS literature that comes close to this? I'd
think the DBMS people would have something similar with their
transactional systems. What do they call it?



More information about the dri-devel mailing list