Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1970015iog; Sun, 26 Jun 2022 03:16:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ugXnYtOOrSZUsIMjWFgNkVsMGVsGN3JO0k+t4xaVxiGVuOHiVMU3h3+C7a95tyCa7DfvPp X-Received: by 2002:a17:906:7308:b0:710:dad0:f56d with SMTP id di8-20020a170906730800b00710dad0f56dmr7319782ejc.691.1656238587171; Sun, 26 Jun 2022 03:16:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656238587; cv=none; d=google.com; s=arc-20160816; b=OqTpijMOdJU8AuEqEHJ30nuexzqxe7AVLb8/RQZYUTF7c4LHJ3n8752dDrZmf1g8G4 Pr5JBFmjruIKE9hkEu4fhKOI9iEjfLY9EUn5TJIfP4t4wm8LjgJlJp/+5QBVFddIUQJg krIibltgAA0oiQ6aR/48E1LbowoMRZBCK2LAeIKqp5Ob6s0A1pcmCMi+/MkvmC2antJR h8rT1wyL0ud5XGWTzSXkepI0jU2XXYlBtiSARnIhGIz92wgCe0k/BDvHKNQkNMYvIs+y q95CT0wVr/cqH9z/o5fnbCaUMwE0IFREjrUvho9iNiDWLEq704/dPWmNacU+eY0UGbNv xNZQ== 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=d1GTVrafSGnwLmKWH9V43K2i1jgUD9/OFW+pPUXMEsk=; b=BXV/USaJG4fIH9tk/op96Wib+7sN59kf3Fx321m3NK0wU2fPpopBtpl7Sbz9jYWfeN s47hMQCqf3noF5W8M7eiC/0UxEfHpxx+uROE9WKGVxyVSDdp7xe5jFx+qtQS6CwLB4eL N30zGHqEWrlBQqCVwetELgZ9b+gGeKLDRloX7CXhrmOWhrjd5y1A+d0iVXCndLU6qPAM 9CP1ANKWqUM505oOZN3B6X2k5dn3LBS1O9zNp4WgbJD3uUy7Kru7Ch8JfrGq0LfPo7zP wMPKsZOsYTDHS9ytu6Yk8fL7usGXfEMa+fCuvoEM1JnjdkUak8DB9/8XN06WgFbfKPE1 a8tw== 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:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ep4-20020a1709069b4400b0071577fd7657si6929258ejc.444.2022.06.26.03.16.02; Sun, 26 Jun 2022 03:16:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234212AbiFZJVl (ORCPT + 99 others); Sun, 26 Jun 2022 05:21:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234151AbiFZJVk (ORCPT ); Sun, 26 Jun 2022 05:21:40 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9789311177 for ; Sun, 26 Jun 2022 02:21:39 -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 8F9402B; Sun, 26 Jun 2022 02:21:39 -0700 (PDT) Received: from FVFF77S0Q05N (unknown [10.57.71.61]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 43DBD3F792; Sun, 26 Jun 2022 02:21:37 -0700 (PDT) Date: Sun, 26 Jun 2022 10:21:33 +0100 From: Mark Rutland To: Will Deacon Cc: andrey.konovalov@linux.dev, Catalin Marinas , kernel-team@android.com, Alexander Potapenko , Dmitry Vyukov , linux-arm-kernel@lists.infradead.org, Vincenzo Frascino , Andrey Konovalov , kasan-dev@googlegroups.com, Andrey Konovalov , Marco Elver , Andrey Ryabinin , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] arm64: kasan: do not instrument stacktrace.c Message-ID: References: <165599625020.2988777.9370908523559678089.b4-ty@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <165599625020.2988777.9370908523559678089.b4-ty@kernel.org> X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Thu, Jun 23, 2022 at 08:31:32PM +0100, Will Deacon wrote: > On Mon, 23 May 2022 16:51:51 +0200, andrey.konovalov@linux.dev wrote: > > From: Andrey Konovalov > > > > Disable KASAN instrumentation of arch/arm64/kernel/stacktrace.c. > > > > This speeds up Generic KASAN by 5-20%. > > > > As a side-effect, KASAN is now unable to detect bugs in the stack trace > > collection code. This is taken as an acceptable downside. > > > > [...] > > Applied to arm64 (for-next/stacktrace), thanks! I had to fix conflicts > in both of the patches, so please can you take a quick look at the result? > > [1/2] arm64: kasan: do not instrument stacktrace.c > https://git.kernel.org/arm64/c/802b91118d11 > [2/2] arm64: stacktrace: use non-atomic __set_bit > https://git.kernel.org/arm64/c/446297b28a21 I take it that was just the s/frame/state/ conflict? FWIW, that looks good to me; thanks for sorting that out! Mark.