Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2798943pxv; Mon, 12 Jul 2021 02:05:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDp3IvnXYGitDyuERudgZTw3CLz+gZrVGa5RaUNzxVYJkdteL9ZKpZY41AeQBwpDJcpsTO X-Received: by 2002:a17:906:33c7:: with SMTP id w7mr29328760eja.430.1626080746695; Mon, 12 Jul 2021 02:05:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626080746; cv=none; d=google.com; s=arc-20160816; b=n09kSmrYG78xXZH4gNwflpPK5+qHiwbOZS3c7PQTYiRiNFeDRlGSnOfBaBCfjU5R3a xhlXSHKv/JRduj8qrsb2Jsb1Q7z2HpPnhEJ/fztmYTSOjk17JQT+uAJOmRiHEpthtltD TBhD6AzCcr/PctKWPx9S7kgPTqHZFunyO5IqkyU7pYMePFiYfYF80NbIGB0HRz7g7tC0 7oVnO9RhfDqLIbJYCSBCcvkLAxuDR1Hmc50eBZUGXOhZ171u+1q2shkAVTJQn53dFMNa MLtS0zqPNGNdV8vZv43PVIgXmNFaXj5P+kgErtRDny9gujlmYiRnq29xwoQy6paf780J msiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=/jiw5cL5EfxnhrPe9bNG359WYG9lcXsKRuTKlfua2dE=; b=BxQ3lLr0WGTsssGq2mWX9VHU3RfK44Tliv831n4pMdWH2hRN6p/6ZRo2E3LGdquP/O uE41DXdJiZrtni+G6Y2H0VD1bmOXBEPnpvoveY3JcKqDWxZ2Wx/tibQN9enAZNkQgL1m eGq+DF5Ow7t+TjvJhzmpQsPEnOyPVIzxyHf3HR2cXr5oHttD+31UZspIwmdomeI5Sgu8 mR+VDwCpyuhBalEZLrhjUdsnCF5voh/uTfq4E31NvNDtiRfB4Jx2xdawgx0/n38XWR6D 1yHLd6TcZwVICtnSAjjcGWjTPUSIBpi1nP8ZUSfxmA2GbpEQoBdUpnPPrX6MnJ0qC69U 06aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=meFVtSyi; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m1si5328116ejj.198.2021.07.12.02.05.23; Mon, 12 Jul 2021 02:05:46 -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=pass header.i=@gmail.com header.s=20161025 header.b=meFVtSyi; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350529AbhGLJHH (ORCPT + 99 others); Mon, 12 Jul 2021 05:07:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359261AbhGLI0i (ORCPT ); Mon, 12 Jul 2021 04:26:38 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DC1DC04FB17 for ; Mon, 12 Jul 2021 01:20:00 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id 11so18776735ljv.1 for ; Mon, 12 Jul 2021 01:20:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/jiw5cL5EfxnhrPe9bNG359WYG9lcXsKRuTKlfua2dE=; b=meFVtSyiW2AWPZBqOtdfVFHLwrhpAOxU/rwLZEdnH0EQYpFMYK1I2olti/az549KEV R2z0O56zqPW5yedvMaABQJkfybUJCX39+q22IV5/gUdmumoNjStNizeB7MEyfK/V+qZO laycdanmitH3Iauwpl60D1Xtq70TBYNQniL4HgUM3h/eNr4EB2fuH5EMJYKOmsgbo8kT bm5qeSXZkiqvt6k9LLxgPxaBCyVDnZquBx+35bVkotZ1kfA4/rxLzeaNa3VA3No3gVgy tBKQDPrQu0yqJqOwjE+b9Q8HcxEC+foslS0Ydv9m24fgqcrUwQBt/LUIo/pWERiX/bmQ OhSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/jiw5cL5EfxnhrPe9bNG359WYG9lcXsKRuTKlfua2dE=; b=QMtAXFxla7oTyLxXKhrJ0iM/Uwa0V3YGVIpc1XPbcJGAf9fR9+KD4zZFjWOcY/kpJl bwDiQvNx0vWA2f17WJJ1nBsQeFG77ChOM9jtXgRYI0131M4qtSXo9hBaJYbCm77E7A+Q fWs22qHo/lQGoWQOlBbphFNjRUdMrZNgfMuDWyHQnRYEmyovqFMfNdu2ODlyCCBjjuF0 VCsfeg8rN/RnQwdMfyWBsAGv9FmFDx0eTQdgCNHanw5bj4TUiWVlmTor3Ou32Ea+6X7s v+CjzSMSj97NCNR2pi3iU6T9kXrwjKB8lo3ATJGB6cE+OJHvVqrnR6tgMtZ/0ej7fPIQ 8GNA== X-Gm-Message-State: AOAM533mfs7HvZdQwlRe7W6DSqgG8u1+5z/xcEQKGx3BZ0KPSS2kMNZP o2SlcHSiOD/VyPh3bPsokPp2RIGYNbjKv3KkTCE= X-Received: by 2002:a05:651c:1684:: with SMTP id bd4mr25138675ljb.287.1626077997583; Mon, 12 Jul 2021 01:19:57 -0700 (PDT) MIME-Version: 1.0 References: <20210618145534.438816-1-sxwjean@me.com> In-Reply-To: <20210618145534.438816-1-sxwjean@me.com> From: Xiongwei Song Date: Mon, 12 Jul 2021 16:19:31 +0800 Message-ID: Subject: Re: [PATCH v2 0/3] some improvements for lockdep To: Xiongwei Song Cc: peterz@infradead.org, mingo@redhat.com, will@kernel.org, longman@redhat.com, Boqun Feng , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, Will you pick up this series? Regards, Xiongwei On Fri, Jun 18, 2021 at 10:55 PM Xiongwei Song wrote: > > From: Xiongwei Song > > Unlikely the checks of return values of graph walk will improve the > performance to some degree, patch 1 and patch 2 are for this. > > The patch 3 will print a warning after counting lock deps when hitting > bfs errors. > > v2: > * For patch 3, avoid to call lockdep_unlock() twice after counting deps. > Please see https://lkml.org/lkml/2021/6/17/741. > > Xiongwei Song (3): > locking/lockdep: Unlikely bfs_error() inside > locking/lockdep: Unlikely conditons about BFS_RMATCH > locking/lockdep: Print possible warning after counting deps > > kernel/locking/lockdep.c | 55 +++++++++++++++++++--------------------- > 1 file changed, 26 insertions(+), 29 deletions(-) > > -- > 2.30.2 >