On Mon, 2015-03-09 at 12:07 +0100, Sebastian Andrzej Siewior wrote:
> On 03/09/2015 11:51 AM, Mike Galbraith wrote:
> > Why do both mutex and rtmutex then exist one might ask? ;-)  No big deal
> > either way though, it's not like it becomes immutable once applied.
> 
> You don't choose rtmutex afaik. rtmutex is used by futex (only?)

Almost only, but not quite.

drivers/media/usb/em28xx/em28xx.h:      struct rt_mutex i2c_bus_lock;
include/linux/i2c.h:    struct rt_mutex bus_lock;
kernel/rcu/tree.h:      struct rt_mutex boost_mtx;

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

Reply via email to