Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752316AbdLSQbK (ORCPT ); Tue, 19 Dec 2017 11:31:10 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:35217 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750916AbdLSQbJ (ORCPT ); Tue, 19 Dec 2017 11:31:09 -0500 Subject: Re: [PATCH] lockdep: Show up to three levels for a deadlock scenario To: Peter Zijlstra , Steven Rostedt Cc: LKML , Ingo Molnar , Thomas Gleixner , Andrew Morton Newsgroups: gmane.linux.kernel References: <20171214123852.515257aa@gandalf.local.home> <20171214175931.mlvr7lk7bcnsqu5i@hirez.programming.kicks-ass.net> From: Dhaval Giani Message-ID: <3317dd1a-1a39-3295-eb90-538be296dff8@oracle.com> Date: Tue, 19 Dec 2017 11:30:29 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20171214175931.mlvr7lk7bcnsqu5i@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8750 signatures=668650 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=793 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1712190234 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 684 Lines: 16 On 2017-12-14 12:59 PM, Peter Zijlstra wrote: > On Thu, Dec 14, 2017 at 12:38:52PM -0500, Steven Rostedt wrote: >> >> Currently, when lockdep detects a possible deadlock scenario that involves 3 >> or more levels, it just shows the chain, and a CPU sequence order of the >> first and last part of the scenario, leaving out the middle level and this >> can take a bit of effort to understand. By adding a third level, it becomes >> easier to see where the deadlock is. > > So is anybody actually using this? This (together with the callchain for > #0) is always the first thing of the lockdep output I throw away. > Yes :-). The other stuff is unreadable to people not you. Dhaval