Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753190AbXKVQTy (ORCPT ); Thu, 22 Nov 2007 11:19:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751944AbXKVQTq (ORCPT ); Thu, 22 Nov 2007 11:19:46 -0500 Received: from an-out-0708.google.com ([209.85.132.250]:15756 "EHLO an-out-0708.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751621AbXKVQTq (ORCPT ); Thu, 22 Nov 2007 11:19:46 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sW3SXRracUON807LTEZGhu/bDZFOsrgjyg5PYG5uou9FH1aB0mlBw9+U3sphHo/tYe9i9VhZu6X4j4ElVSgIjSDrHjneMkuMQpF12PhIlBEHSvWchpTjf3KNvtzFuilpCWR7Vj/2VyHDyvI/+/20pl4lm+qoIfD3aNvknRc02yg= Message-ID: Date: Thu, 22 Nov 2007 17:19:44 +0100 From: "Leon Woestenberg" To: "Oliver Neukum" Subject: Re: Use of mutex in interrupt context flawed/impossible, need advice. Cc: linux-kernel@vger.kernel.org In-Reply-To: <200711221711.39134.oliver@neukum.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200711221711.39134.oliver@neukum.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 734 Lines: 21 Hello, On Nov 22, 2007 5:11 PM, Oliver Neukum wrote: > Am Donnerstag 22 November 2007 schrieb Leon Woestenberg: > > I would like to know why this is not so, and if someone has a cleaner > > proposal than the "try spinlock" approach? > > Keep the semaphore. > 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. Regards, -- Leon - 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/