From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A83DCC433F5 for ; Thu, 7 Apr 2022 18:42:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346895AbiDGSoE (ORCPT ); Thu, 7 Apr 2022 14:44:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229973AbiDGSoC (ORCPT ); Thu, 7 Apr 2022 14:44:02 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5A53827B1C for ; Thu, 7 Apr 2022 11:42:01 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D571D12FC; Thu, 7 Apr 2022 11:42:00 -0700 (PDT) Received: from FVFF77S0Q05N (unknown [10.57.7.113]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 379703F718; Thu, 7 Apr 2022 11:41:58 -0700 (PDT) Date: Thu, 7 Apr 2022 19:41:51 +0100 From: Mark Rutland To: Andrey Konovalov Cc: andrey.konovalov@linux.dev, Marco Elver , Alexander Potapenko , Catalin Marinas , Will Deacon , Andrew Morton , Dmitry Vyukov , Andrey Ryabinin , kasan-dev , Vincenzo Frascino , Sami Tolvanen , Peter Collingbourne , Evgenii Stepanov , Florian Mayer , Linux Memory Management List , LKML , Andrey Konovalov Subject: Re: [PATCH v2 0/4] kasan, arm64, scs, stacktrace: collect stack traces from Shadow Call Stack Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 05, 2022 at 05:10:02PM +0200, Andrey Konovalov wrote: > On Thu, Mar 31, 2022 at 2:39 PM Mark Rutland wrote: > > > > I've had a quick look into this, to see what we could do to improve the regular > > unwinder, but I can't reproduce that 30% number. > > > > In local testing the worst can I could get to was 6-13% (with both the > > stacktrace *and* stackdepot logic hacked out entirely). > > > > I'm testing with clang 13.0.0 from the llvm.org binary releases, with defconfig > > + SHADOW_CALL_STACK + KASAN_