Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp670373pxj; Thu, 17 Jun 2021 11:03:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzi76vR29p6YGNnDG5phGklCgRQ0gz+aHiju6il1gozxnT3NfjuhwfKRJXh2JatG9hV73en X-Received: by 2002:a17:906:6c92:: with SMTP id s18mr6542977ejr.246.1623953023715; Thu, 17 Jun 2021 11:03:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623953023; cv=none; d=google.com; s=arc-20160816; b=hI9cyZygRia0E4jWTrRfOJoYk0zlcRx1iyVlanXkMk36qpqr5YVP+vvy11SLBCtyb8 smxILX7NeECY4QqY6CbJXF4UGgPb/mmWR7ZH24tJPKI5jYPPnxMdWl+oE3lkbWi02Lip Du6dt/di57eEIwOVUcWvMgivni4EZxpaymYeifiUCsvFYFFEFIj7yp36WSiwfK0UXiKQ b9dIhCNFEv037mHA5f50qe6K6E6ZAt1H7VRxnSMB4df0QMNbONsn4lHmR+nRVO95B0Zr 1do60Ttm2hbfWwPLnbp/6wPtupeBOOEXdOW0XP9rQe804ZDN1HpJi6Ezs27ItoclF4/m cq3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=LAL9LY0UrYbyJUihXjQ953KjGs5SzfoD7ucw0Wjvqfo=; b=PpO59TexDSB0KFRLfQDqoWzkdAAcFWV1mBQ/w0sZEW6NnUql1PVatBaMD6wl143ckT Lx1lsBb7Oiy8EBM5aWcbmG7Or1+mFQ86a/ff0wuep/QJfGxcuCoOCuT+tg0LT3eAhaYn GHAdanrMKyvA9QKRPXm1SWbhG2B8E8Hn1e4GrnP4rzAUL5hyHbJ8AAKysuvuwOcnmgVt nILl2sQguDj8FawNLLEnH7BbOG92KcU+TZ3fLlJqrEJHKH2zJCoZf+XXQgVukUrBHzwj yzKCehXojxI04ZMJHKewlBbA0HyjCrjjgK+HC7n8Rw9FE3gyFuAAIX/rgPzCKO54CSp6 vyCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=u3u0AGjv; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yd29si5015797ejb.330.2021.06.17.11.03.19; Thu, 17 Jun 2021 11:03:43 -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=@me.com header.s=1a1hai header.b=u3u0AGjv; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232458AbhFQObD (ORCPT + 99 others); Thu, 17 Jun 2021 10:31:03 -0400 Received: from pv50p00im-zteg10011501.me.com ([17.58.6.42]:52060 "EHLO pv50p00im-zteg10011501.me.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231656AbhFQObC (ORCPT ); Thu, 17 Jun 2021 10:31:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1623940134; bh=LAL9LY0UrYbyJUihXjQ953KjGs5SzfoD7ucw0Wjvqfo=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=u3u0AGjv8aG5UQitLG9FCZDUidKQoIPNNuYPhCuay4SHDSieSJIIAc3/CjR4r4L3b X1i7TmmOFr9YEiF4wBat5CWAoDOSST8AyeFoakoMwyALYIe3aI2phKEuB9ATe+Ev7P GZ+SPGMsTYAXAjmDxTzKGxox3aYHAK+qWKaOML1ReXjVF01anlOuY5dQaaEUlMum/s Lr68lZW4U16Frf/AZYSJq/uze28J53OrPXbCbZkMNmvrNpWadBzWTJzpwrmKir8LU0 cjpk4y1MYkngL9McJGQ1g2LPkY6KLBE+JvK7IpJYg26i2lo5LB/68xvHo6Sr9L7vOi YICXO0LDK4Icg== Received: from xiongwei.. (unknown [120.245.2.120]) by pv50p00im-zteg10011501.me.com (Postfix) with ESMTPSA id 21C2DB0039B; Thu, 17 Jun 2021 14:28:50 +0000 (UTC) From: Xiongwei Song To: peterz@infradead.org, mingo@redhat.com, will@kernel.org, longman@redhat.com, boqun.feng@gmail.com Cc: linux-kernel@vger.kernel.org, Xiongwei Song Subject: [PATCH 0/3] some improvements for lockdep Date: Thu, 17 Jun 2021 22:28:25 +0800 Message-Id: <20210617142828.346111-1-sxwjean@me.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-06-17_13:2021-06-15,2021-06-17 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=544 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2106170092 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Xiongwei Song (3): locking/lockdep: unlikely bfs_error function locking/lockdep: unlikely conditons about BFS_RMATCH locking/lockdep: print possible warning after counting deps kernel/locking/lockdep.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) -- 2.30.2