Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752640AbXKVQtt (ORCPT ); Thu, 22 Nov 2007 11:49:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751624AbXKVQtl (ORCPT ); Thu, 22 Nov 2007 11:49:41 -0500 Received: from mx1.redhat.com ([66.187.233.31]:47549 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750984AbXKVQtl (ORCPT ); Thu, 22 Nov 2007 11:49:41 -0500 Date: Thu, 22 Nov 2007 17:49:36 +0100 From: Michal Schmidt To: "Leon Woestenberg" Cc: "Oliver Neukum" , linux-kernel@vger.kernel.org Subject: Re: Use of mutex in interrupt context flawed/impossible, need advice. Message-ID: <20071122174936.75c8e65c@brian.englab.brq.redhat.com> In-Reply-To: References: <200711221711.39134.oliver@neukum.org> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.10.4; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 609 Lines: 15 On Thu, 22 Nov 2007 17:19:44 +0100 "Leon Woestenberg" wrote: > I forgot to mention that I would like to be prepared for, and use the > -rt patch soon. I understand (maybe wrongly?) that semaphores are not > real-time pre-emptible, mutexes and spinlocks are. Semaphores are preemptible, but they don't do priority inheritance. Michal - 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/