From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68278C6FA90 for ; Mon, 19 Sep 2022 10:54:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229822AbiISKyK (ORCPT ); Mon, 19 Sep 2022 06:54:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229872AbiISKxM (ORCPT ); Mon, 19 Sep 2022 06:53:12 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A07D2A251 for ; Mon, 19 Sep 2022 03:48:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=UCSeoFTRn0rDIVGvHckFfpCejRDODjD/mepPzagQ650=; b=WQ8VV5a15E753SKXoSSrvaOmTK +5eJBoPoWcXZaoeD78zrwhcNU1n9tiKi9Jt5DpggN6dKzKv0lvCw+NECtgRz09zIpEQLR2SJIuMex UuK2cb4oWajOckfEXfLBvmAOkxK+9ve4UrQ6DJV31mxUHXJjmEkcSHU89YENfT3mvbvTAc3OJyjiX pXzqy4P2lmTtgFiSAZPWQg5G54RyCt8+w4pGrQGRF2SIbgu4DnC2YwrpQ7IzrQnd/kxHdwJygWsdc EekkL4xchOery8DGMR0V8cf5/VGVlHvgJ0gjpzfZGm+sVKWts1FzeAsAg34Gzl/auPR3R4oBkdt0v NsiNmL0g==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oaEKA-004dUO-JC; Mon, 19 Sep 2022 10:48:26 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 70027300202; Mon, 19 Sep 2022 12:48:23 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 4ED0B20188683; Mon, 19 Sep 2022 12:48:23 +0200 (CEST) Date: Mon, 19 Sep 2022 12:48:23 +0200 From: Peter Zijlstra To: Tetsuo Handa Cc: Boqun Feng , Ingo Molnar , Will Deacon , Waiman Long , LKML Subject: Re: [PATCH v2] lockdep: report name and key when look_up_lock_class() got confused Message-ID: References: <55111c45-0f8f-c6f9-640c-6919939b77dd@I-love.SAKURA.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 19, 2022 at 09:52:13AM +0900, Tetsuo Handa wrote: > Printing this information will be helpful. > > ------------[ cut here ]------------ > Looking for class "l2tp_sock" with key l2tp_socket_class, but found a different class "slock-AF_INET6" with the same key > WARNING: CPU: 1 PID: 14195 at kernel/locking/lockdep.c:940 look_up_lock_class+0xcc/0x140 > Modules linked in: > CPU: 1 PID: 14195 Comm: a.out Not tainted 6.0.0-rc6-dirty #863 > Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006 > RIP: 0010:look_up_lock_class+0xcc/0x140 > > Signed-off-by: Tetsuo Handa Urgh, you hitting that WARN enough times to want to improve it seems to suggest your machine is quite sick. Anyway, patch is ok I suppose.