From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751014AbdJSEcn (ORCPT ); Thu, 19 Oct 2017 00:32:43 -0400 Received: from LGEAMRELO12.lge.com ([156.147.23.52]:40401 "EHLO lgeamrelo12.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750777AbdJSEcm (ORCPT ); Thu, 19 Oct 2017 00:32:42 -0400 X-Original-SENDERIP: 156.147.1.125 X-Original-MAILFROM: byungchul.park@lge.com X-Original-SENDERIP: 10.177.222.33 X-Original-MAILFROM: byungchul.park@lge.com Date: Thu, 19 Oct 2017 13:32:40 +0900 From: Byungchul Park To: Ingo Molnar Cc: peterz@infradead.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, linux-mm@kvack.org, kernel-team@lge.com Subject: Re: [PATCH 1/2] lockdep: Introduce CROSSRELEASE_STACK_TRACE and make it not unwind as default Message-ID: <20171019043240.GA3310@X58A-UD3R> References: <1508318006-2090-1-git-send-email-byungchul.park@lge.com> <20171018100944.g2mc6yorhtm5piom@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171018100944.g2mc6yorhtm5piom@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 18, 2017 at 12:09:44PM +0200, Ingo Molnar wrote: > BTW., have you attempted limiting the depth of the stack traces? I suspect more > than 2-4 are rarely required to disambiguate the calling context. I did it for you. Let me show you the result. 1. No lockdep Performance counter stats for 'qemu_booting_time.sh bzImage' (10 runs): 2.756558155 seconds time elapsed ( +- 0.09% ) 2. Lockdep Performance counter stats for 'qemu_booting_time.sh bzImage' (10 runs): 2.968710420 seconds time elapsed ( +- 0.12% ) 3. Lockdep + Crossrelease 5 entries Performance counter stats for 'qemu_booting_time.sh bzImage' (10 runs): 3.153839636 seconds time elapsed ( +- 0.31% ) 4. Lockdep + Crossrelease 3 entries Performance counter stats for 'qemu_booting_time.sh bzImage' (10 runs): 3.137205534 seconds time elapsed ( +- 0.87% ) 5. Lockdep + Crossrelease + This patch Performance counter stats for 'qemu_booting_time.sh bzImage' (10 runs): 2.963669551 seconds time elapsed ( +- 0.11% ) And I will add the result in commit message at the next spin. Thanks, Byungchul