Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp66779pxh; Thu, 7 Apr 2022 14:09:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyj668aO93XLRPWe2pYm7w4YR76NrTCCREY9TvwTngR9tUy/mv5puLceXMpI6kUIgzZjW6y X-Received: by 2002:a17:902:ce85:b0:156:bf3d:55e8 with SMTP id f5-20020a170902ce8500b00156bf3d55e8mr16137836plg.22.1649365785488; Thu, 07 Apr 2022 14:09:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649365785; cv=none; d=google.com; s=arc-20160816; b=MhPD57Oxc1Jc6fO6CVFuXknqZrGhB5NxLCMFCE0otbWXcpiZ+hQrcPh1OiPm+dWoL8 Igjthv6dsUNY4t0Kee63+lG2GzfAx5drswPAb4X4nQY4qO+ndJfZcXUqC/i0CVkFLRia CGVA9kb94zbGb2RGKRXu2XZHxkmYJ3CHXIcWIr5n0pc2BjaBd2sVJ4GiC+uKmNSBieD8 yJbOFdJsJqQqjan9UTmnB0nQuCyqSkd+SWoefFU9HZQ8cFHz6GFA5uyPgLPmz5cINlQS Kbbnrmimmn7IVhN04ZpGCHGu8YUo5U10dIzeTHgpQNfLKK1V76tiVTHPL1lEc6KFs1cq FFWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=63Tazlq1+era2r+9N80UOtlsAQrD5K7jRU560S7GQ6I=; b=c99xzVcNqvhgcKEZZ3yvI5Nl2wjPNm0m584klqInZWaLDGkz/2r4NygbU2zNiqzL+e +EeYkMP4lnJdpFOQ7kf+UOOpvM3sp3cwmjxGYlNTAPoGvYW+xkjR1T8M1MepDvoqCTcU r4j8zICjDDjOrUwcplYAQ9yHpx62/xvTEnGsmIat0oalXdJvX/hTYLoNy+n83MnRhDbw DUkstPNaaSPBjtJDxtm5d3TV9VFdqQxVdgynaBqOnVwaZMPQF8eebke1BEz5MmOYKEYl vPZaLjLbtMO9hw/yGhJpJ2jjEgVBRPN5Aw7CY1LfJCD+zBfyqs9qD5alZ8hCb3y1YVj7 xS3A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id u15-20020a170902e80f00b001570e00e0cesi705863plg.536.2022.04.07.14.09.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 14:09:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9A74C28CAB3; Thu, 7 Apr 2022 13:02:13 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241487AbiDGSoD (ORCPT + 99 others); Thu, 7 Apr 2022 14:44:03 -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: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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_