From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753995AbbCILHw (ORCPT ); Mon, 9 Mar 2015 07:07:52 -0400 Received: from www.linutronix.de ([62.245.132.108]:34719 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751300AbbCILHt (ORCPT ); Mon, 9 Mar 2015 07:07:49 -0400 Message-ID: <54FD7EFF.90105@linutronix.de> Date: Mon, 09 Mar 2015 12:07:43 +0100 From: Sebastian Andrzej Siewior User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0 MIME-Version: 1.0 To: Mike Galbraith CC: Maarten Lankhorst , linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar Subject: Re: [PATCH 2/3] locking: ww_mutex: Allow to use rt_mutex instead of mutex for the baselock References: <1425056229-22326-1-git-send-email-bigeasy@linutronix.de> <1425056229-22326-3-git-send-email-bigeasy@linutronix.de> <1425266436.7429.8.camel@gmail.com> <54F4237B.40903@canonical.com> <54F99A38.1070806@linutronix.de> <54F99A9B.1050503@canonical.com> <54F99F36.4030405@linutronix.de> <1425664233.7562.21.camel@gmail.com> <54FD6F5A.1030809@linutronix.de> <1425898264.9329.10.camel@gmail.com> In-Reply-To: <1425898264.9329.10.camel@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?) and one of the things it does is PI. On -RT we need PI everywhere therefore we s/mutex/rtmutex/. > > -Mike Sebastian