Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2383498rwb; Mon, 19 Sep 2022 04:29:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6DcBEssZrbHMSHZSL9V4c4OYvcKsvBGAMjIowEBz2U/gN2QTmnm+D1roPlhzqJXOSUGU52 X-Received: by 2002:a17:907:2c75:b0:77c:2b6a:6b63 with SMTP id ib21-20020a1709072c7500b0077c2b6a6b63mr13093542ejc.702.1663586950392; Mon, 19 Sep 2022 04:29:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663586950; cv=none; d=google.com; s=arc-20160816; b=g5lMy8UWR8Z44prk400HmsQBheSgSKe/EBJQYhK86wBymkZLlK6k5Lj4l0fExH+rV1 vUz50qTKZBZRqj73yFOvp41/i8wtOXDJ5w7iALHPQ9QMTaAPH7/ovlaAi769sAODhDFd uDGKUX5Cz2LZGD2YQmzR2wgVSMHBc8hfGAfOkGZGNHRPe3aBe+fLYKAfz8lulBU9W73b cQBOMxCuNESQcj70MLehCYLjxjOyF304kixwzs/PUyhQYe2dJ9b43xkcXPGhHXe3g6zd r2uQ+exl6QuEpADQwg4zVfJOtv+dzbcvDSo19bxylijNWe2LSKimbljKtQist+NuzrGV W8dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UCSeoFTRn0rDIVGvHckFfpCejRDODjD/mepPzagQ650=; b=xABoCk6hu0Yn25qvJnLwEuhUKyoVNAdmK2cWZoaoxs8rnzICvfis2fggcC28kJvLov xirbbpIMafOuL92FO4DglERyWa7gdpMhf5C2gy0eNz6z5jgJHIp+IDDbYW1vV/7vh993 qQ3OpwgjtelwvHL2C6kZBUIiAxv0mY1oFXUA90AEPLTWYA4aTf3VSArlKJ85/Oa2pbow THWguPlqYGD8cCVg+2toeAjz72PKS8bVfM+RPsZWtmg9qXey4kTzVAml8eOEeeCfLFM9 Q7BAmkvUqmlPOfPQfwNhFvI80yhoGiLXs2p9pVKqpXXfBahCxtEcL6vA84/EpOvxAquF E/3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=WQ8VV5a1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i11-20020a1709064fcb00b0077497671e2asi24418112ejw.406.2022.09.19.04.28.45; Mon, 19 Sep 2022 04:29:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=WQ8VV5a1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229815AbiISKyI (ORCPT + 99 others); Mon, 19 Sep 2022 06:54:08 -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: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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.