From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753318Ab0JYH41 (ORCPT ); Mon, 25 Oct 2010 03:56:27 -0400 Received: from mail-pw0-f46.google.com ([209.85.160.46]:50222 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751657Ab0JYH40 (ORCPT ); Mon, 25 Oct 2010 03:56:26 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=ExsmLu9qj8JUnt4REogZMOyZ0HRjcm1iwvVfjqcbX/zbcrxfkIAVEHEXGPe0186HLW p0NT7l154WnvbiPkMPbhso1Cyl4BFAv4FXxDIWluVsVwVXZnIWQwPCljH5NULlHf7Zkx p0iDXX9By7h/6ufLdivSkD3pupc8jftkraswU= Date: Mon, 25 Oct 2010 00:56:17 -0700 From: Dmitry Torokhov To: Miles Lane Cc: LKML , Alessandro Rubini Subject: Re: 2.6.36-git4 -- BUG: looking up invalid subclass: 31 -- turning off the locking correctness validator. Message-ID: <20101025075617.GE1438@core.coreip.homeip.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Miles, On Sun, Oct 24, 2010 at 06:00:30PM -0400, Miles Lane wrote: > BUG: looking up invalid subclass: 31 > turning off the locking correctness validator. > Pid: 1, comm: swapper Not tainted 2.6.36-git4 #3 > Call Trace: > [] look_up_lock_class+0x66/0xe6 > [] register_lock_class+0x1e/0x30e > [] ? trace_hardirqs_on+0xd/0xf > [] lockdep_init_map+0xf9/0x10c > [] mousedev_create+0xb3/0x1e7 > [] ? mousedev_init+0x0/0x62 > [] mousedev_init+0x1c/0x62 > [] do_one_initcall+0x7a/0x130 > [] kernel_init+0x148/0x1d2 > [] kernel_thread_helper+0x4/0x10 > [] ? finish_task_switch+0x3f/0x9a > [] ? restore_args+0x0/0x30 > [] ? kernel_init+0x0/0x1d2 > [] ? kernel_thread_helper+0x0/0x10 This should be fixed by: commit f74eef95e33a07379aa2b950c7f313cbfd55ebbe Author: Hitoshi Mitake Date: Wed Oct 13 11:35:40 2010 -0700 Input: mousedev - correct lockdep annotation When annotating mutex to avoid false lockdep reports we should not be using MOUSEDEV_MIX as lock subclass but rather SINGLE_DEPTH_NESTING. Signed-off-by: Hitoshi Mitake Signed-off-by: Dmitry Torokhov once Linus pulls from my tree. Thanks. -- Dmitry