Received: by 10.223.164.202 with SMTP id h10csp363412wrb; Thu, 30 Nov 2017 00:08:42 -0800 (PST) X-Google-Smtp-Source: AGs4zMawgXGNsA+3/YKXjBil8Qj7kMbyVircJ1zJPsazAztQ3nMKFArAm92M8s3VTZ8WtyC6ZDKR X-Received: by 10.98.26.23 with SMTP id a23mr5828019pfa.198.1512029321987; Thu, 30 Nov 2017 00:08:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512029321; cv=none; d=google.com; s=arc-20160816; b=quUgZu1St1kX3z4ndP7GdiYqgEZQga3bmUIJTzfTzKxphsT+YfcB/A/YUxUvkgulxs qZI83LriPRGlQw0LAuJ4NwyhDZ6wp/Tv/y+fl4bgpUR7QhZASlc+H5//Qyogb1PLvSjq +UGmzc9+gPiMtxMkDyBln2WBg6sYnyYR0FaaPcC+D3pNWRD9TdL4DT9+7LJLAx9CDYEm RdPCOwQj1HPKg4OumififgIWCHlxeJoe8nwVXRB6V73T9BXqkcwR+GlpAJqZ/bCjefUQ oMmm5rC/a+YGq01kcb6OAcZlxuvRP7gVPCpMHxnDfDc8+CWKWg7YPlIkeGvs7ltQPp4M HjbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=uGEvQRIPpMDUkd9H6JpVscVcBy89DlVnVXsr0KrWWxM=; b=qStiP/U2cE0Zt17xO1JANdZ8HWlIF5XSGkd+Ikkhd1831qikmo0B9HygqgNonCfpIN qNuJEh9rTZUQlQ7NdE6X4JWW555IMXdigWluQZQ0WWhJw6anCNoIvq2FRvLMoL6jNZ3M 7GujKkxci1jGef3H9WnxrM8TaYBAxl1yAJkGqcxa9c+FrEGsnvbinj3ivwnHvkTrxER8 s3GElwH/DlKQ80TiCjD4RhjPyQHzwumikc2w5wk/MUEclic/3Krllgq3dMmG8TFsM68N +1dUDovJBPVa0+8nwSRNS/S6B/fDnR9efyAVHjTlzqKDpNtxYawRGdYYBKwYaIaNV+Xn vqBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=lQ5jMSQ+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z9si1028227pgs.442.2017.11.30.00.08.29; Thu, 30 Nov 2017 00:08:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=lQ5jMSQ+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751649AbdK3IIQ (ORCPT + 99 others); Thu, 30 Nov 2017 03:08:16 -0500 Received: from mail-wm0-f43.google.com ([74.125.82.43]:42673 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750890AbdK3IIO (ORCPT ); Thu, 30 Nov 2017 03:08:14 -0500 Received: by mail-wm0-f43.google.com with SMTP id l141so11224543wmg.1 for ; Thu, 30 Nov 2017 00:08:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=uGEvQRIPpMDUkd9H6JpVscVcBy89DlVnVXsr0KrWWxM=; b=lQ5jMSQ+EAn41QEgEmUYFbUqs33iZk7hq9zF29/udYNE4Y7aDoNCR8Wz21bpBmdcc2 gq3xXa/qWn1FH7UXXRgSuNUBhFAuj613NdgzuxAHAgIHf5szKwkSxOhIZimU51OeCnp1 su4uEAwIx14T4fb4qncNIjKIHTa1Aviqx7gEg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=uGEvQRIPpMDUkd9H6JpVscVcBy89DlVnVXsr0KrWWxM=; b=iUkK8v8L1BBtvPCiW8U4C3yE1PhdzWy7lEa6yg1G07eEk4r9UvL+HV4LS5TRfdxABi gVNrlrRrDXpXNsUT01cyKel3gAnZl0Hu7Ufw8twMxER2Aly/dGeRPJM0p0sbtpOSZpJ4 Qz4OjqD8OyKw2U92xUozExFtbyxmTBVgl6A03Ki8AvdxH0BGb4r6E5Fz/VoJDbounXnf O3OIMYAJYriKsOTtBEz7yt4mRFdckERNyTeyLJ6ucZvwsYXeGuRIoPxQfxPXpi+BUtpj z2LpKVfZQw1AFqnH6DmjkIF8CDeissAET4Th8IrLFR+iJlJWLUUY9H+iZjAgIxY2KJHU 9qag== X-Gm-Message-State: AJaThX5DHSfYsmhlrK8o0CLorHUoBKAi2Hk+Oqxs6RctYW0ap5oQlA4y 0G4x013vZ0h8GyTTePXa4p086A== X-Received: by 10.80.165.41 with SMTP id y38mr11702433edb.72.1512029293528; Thu, 30 Nov 2017 00:08:13 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:5635:0:39d2:f87e:2033:9f6]) by smtp.gmail.com with ESMTPSA id j39sm3157322ede.38.2017.11.30.00.08.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 Nov 2017 00:08:12 -0800 (PST) Date: Thu, 30 Nov 2017 09:08:10 +0100 From: Daniel Vetter To: Peter Zijlstra Cc: Daniel Vetter , LKML , Ingo Molnar , Thomas Gleixner , Intel Graphics Development , Tejun Heo , Kees Cook , Tvrtko Ursulin , Marta Lofstedt , Daniel Vetter Subject: Re: [PATCH 2/2] lockdep: Up MAX_LOCKDEP_CHAINS Message-ID: <20171130080810.vedn2ivhurgnsu62@phenom.ffwll.local> Mail-Followup-To: Peter Zijlstra , LKML , Ingo Molnar , Thomas Gleixner , Intel Graphics Development , Tejun Heo , Kees Cook , Tvrtko Ursulin , Marta Lofstedt , Daniel Vetter References: <20171129154145.26755-1-daniel.vetter@ffwll.ch> <20171129154145.26755-3-daniel.vetter@ffwll.ch> <20171130074718.hzed67wrwjtv4byu@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171130074718.hzed67wrwjtv4byu@hirez.programming.kicks-ass.net> X-Operating-System: Linux phenom 4.13.0-1-amd64 User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 30, 2017 at 08:47:18AM +0100, Peter Zijlstra wrote: > On Wed, Nov 29, 2017 at 04:41:45PM +0100, Daniel Vetter wrote: > > cross-release ftl > > > > From Chris: > > > > "Fwiw, this isn't cross-release but us reloading the module many times, > > creating a whole host of new lockclasses. Even more fun is when the > > module gets a slightly different address and the new lock address hashes > > into an old lock... > > Yeah, this is a known issue, just reboot. > > > "I did think about a module-hook to revoke the stale lockclasses, but > > that still leaves all the hashed chains. > > Its an absolute royal pain to remove all the resources consumed by a > module, and if you manage you then have to deal with fragmented storage > -- that is, we need to go keep track of which entries are used. > > Its a giant heap of complexity that's just not worth it. > > > Given all that, I don't see why we should up this. Just don't reload > modules (or better, don't use modules at all). We use excessive amounts of module reloading to validate the failure paths of driver load. Rebooting takes too much time. I guess we could look into just rebinding the driver without reloading, that should take the pain off lockdep. Meanwhile we can carry this locally. I just included this to check whether you have any plans, thanks for clarifying that this is not worth it from a core perspective to get fixed. The real issue we have in CI is the one the first patch papers over. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch From 1585476348846649426@xxx Thu Nov 30 07:47:53 +0000 2017 X-GM-THRID: 1585415738727916533 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread