From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756623AbYEPTfO (ORCPT ); Fri, 16 May 2008 15:35:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751253AbYEPTfC (ORCPT ); Fri, 16 May 2008 15:35:02 -0400 Received: from www.tglx.de ([62.245.132.106]:58860 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750845AbYEPTfA (ORCPT ); Fri, 16 May 2008 15:35:00 -0400 Date: Fri, 16 May 2008 21:32:49 +0200 (CEST) From: Thomas Gleixner To: Andrew Morton cc: bugme-daemon@bugzilla.kernel.org, linux-kernel@vger.kernel.org, Ingo Molnar , Stas Sergeev , Takashi Iwai Subject: Re: [Bugme-new] [Bug 10701] New: snd_pcsp lockdep warning In-Reply-To: <20080516103827.0d5ab023.akpm@linux-foundation.org> Message-ID: References: <20080515110244.6e15d4c3.akpm@linux-foundation.org> <20080516103827.0d5ab023.akpm@linux-foundation.org> User-Agent: Alpine 1.10 (LFD 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 16 May 2008, Andrew Morton wrote: > > So the author was well aware of locking problem and the whole code is > > just a stupid hack around the problem without solving it. This code is > > not at all suited for HRTIMER_CB_IRQSAFE. > > You sound impressed! So what's the fix? HRTIMER_CB_SOFTIRQ? Yeah, impressed by creativity. HRTIMER_CB_SOFTIRQ should be the right thing. Thanks, tglx