Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4645022pxa; Mon, 10 Aug 2020 14:28:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxE/5dcCSVFDWWTox/fF2m5GiHBM5iauMI7c2REOTmm2nK+YNhI6uqvsMkgY5vYVJZ6wom/ X-Received: by 2002:aa7:da0e:: with SMTP id r14mr23472705eds.236.1597094895423; Mon, 10 Aug 2020 14:28:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597094895; cv=none; d=google.com; s=arc-20160816; b=WWu8gQPelUM+aLtzuCKRbqKZjjPudfkWzRo3uRs8aPjfom2KGGV0XCYMjZLeerzBAk /m4F5cmpcZ0Ts4unM7KM4pDrsjU9cpjyBXwaRrh1YSv4Gyvy61FuIkujgBjwn8uKQnRM jJIE1zCafAUpbq8odyXYsOT2IBLVOLSMgda09D8BAY63YDlZVzZ0BrRsU4TmziXJscmv vM8V+YtWll0jaMOwkRSaj1SaNJAzYqxkdI2MB3P4RZ7e2NPcy0vjatMbwGpVA7blOH/9 gqY67D+KhghS6UTOJVDQeEsbfl3Kc4/40DEERwOl14QiRv5e/AgOZ6xB2rezHtG+ip2V MLuw== 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:message-id:subject:cc :to:from:date:dkim-signature; bh=xX0l+o3WOXrFYkfAFbEcFNmccJy5nLnWF03ye/oymn4=; b=Y5T3tcRZ3squndsGN5aulMCek+lK+2hjT4cRsH/HCdzVqEtGki/LR3TGspDoYObMQj KkNvQ+FmZ1gnpkbssBDJXtf9fjkWb0KkcVhURwcsyk+B17XzLEwNYrJ9SZfmALLDcb9u DjRhEC/cFZTjsGJFy0l0E+mEguZlBq5eKWCkFAiB2YZetKkEVITWy85iWr58xwTWduV+ 0O1nxjXNdLMVBQ/+r7k87/fPNKAmZG6r95RQp5UIKvmBzLonxYBpV/6VBpP2FwcS0DQn h6CwgjMnvpRU3lgz+gk6lZF8wLafdOYhjt3kr2HLqVa/djQN2YC7k7vxH/i5MGhoDWFx QkGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=AABfE5rB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i19si5361334ejh.715.2020.08.10.14.27.52; Mon, 10 Aug 2020 14:28:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=AABfE5rB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726766AbgHJVZQ (ORCPT + 99 others); Mon, 10 Aug 2020 17:25:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726654AbgHJVZQ (ORCPT ); Mon, 10 Aug 2020 17:25:16 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3C3CC061756; Mon, 10 Aug 2020 14:25:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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=xX0l+o3WOXrFYkfAFbEcFNmccJy5nLnWF03ye/oymn4=; b=AABfE5rB1ADqgBAiUjRtfhh7CH 9oSnxCesZTQcjy1wuye8zf3x1lBCnu/W3hbKNCGFhDtn/jXpL8okZ2rO66WlYAz+2U/DtmUssoo5c mOwSYEtLkzDqJlTF6TgYjAnLks0wf1/cry6vuFoVMaTR1arZmDzeaWYz1/LJPprlrkJ0Amm52NZKz vp0zri8hZXlCrJz7JsaG07k86BJm4fhGqPWkk5Qk7SIM602h4hbWeqPAJ7ez1foEDuWe30ezyHqlC J6JCYupUtyysZRkYAs92N7ogiYFnMLzUobTWpJPb55LkAe+PSLyHoiAKRDKj8Bx4uxkeIarzk7yX6 5wCdKt2A==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k5FI4-0004FC-6c; Mon, 10 Aug 2020 21:25:08 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 20238980D39; Mon, 10 Aug 2020 23:25:06 +0200 (CEST) Date: Mon, 10 Aug 2020 23:25:06 +0200 From: Peter Zijlstra To: Uriel Guajardo Cc: Brendan Higgins , mingo@redhat.com, will@kernel.org, Uriel Guajardo , "open list:KERNEL SELFTEST FRAMEWORK" , Linux Kernel Mailing List Subject: Re: [PATCH] kunit: added lockdep support Message-ID: <20200810212506.GH3982@worktop.programming.kicks-ass.net> References: <20200806203737.3636830-1-urielguajardojr@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 10, 2020 at 04:17:42PM -0500, Uriel Guajardo wrote: > On Mon, Aug 10, 2020 at 3:35 PM Brendan Higgins > wrote: > > > > On Thu, Aug 6, 2020 at 1:43 PM Uriel Guajardo wrote: > > > > > > On Thu, Aug 6, 2020 at 3:37 PM Uriel Guajardo wrote: > > > > > > > > From: Uriel Guajardo > > > > > > > > KUnit tests will now fail if lockdep detects an error during a test > > > > case. > > > > > > > > The idea comes from how lib/locking-selftest [1] checks for lock errors: we > > > > first if lock debugging is turned on. If not, an error must have > > > > occurred, so we fail the test and restart lockdep for the next test case. > > > > > > > > Like the locking selftests, we also fix possible preemption count > > > > corruption from lock bugs. > > > > Sorry, just noticed: You probably want to send this to some of the > > lockdep maintainers or the maintainers of the kselftest for lockdep. > > > > Thanks for the reminder. CC'ed lockdep maintainers. Please resend as a whole, this is an unreadable mess.