Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6179990iog; Thu, 23 Jun 2022 13:02:48 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sy/WFr9340I+4MzLKo+oOt4HiK1gpeSc6oTc2yez71sJzlwUyxCCpZXWCzesuvMWz9fu6e X-Received: by 2002:a05:6a00:98b:b0:525:2e2f:b8d5 with SMTP id u11-20020a056a00098b00b005252e2fb8d5mr19344279pfg.86.1656014568252; Thu, 23 Jun 2022 13:02:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656014568; cv=none; d=google.com; s=arc-20160816; b=UcH/yOLaDyuTbwM6og+1DRCXvx8SfAOMlzEuobMMtrRecggJCPqq8URfjTRSFEpIfa VONp/t9OVxTbjmcPmTCcSGdYRrkITruksG0IDzVJDHWjWSLlgK0ZouzMa4fIkBQmnYKi KUVbsqJi/wBvoVpqT3tPKA0lTvmfTP6MT9kaBlvvWrfPZkCLv6UAI5bQAiQpPzxcWfPC 9Cbk+Sv8b89Z5J5Mfn2nT0oad943jCC7JdLF08wuatKh2a3a7tlnwmTg7LodLl3X2zVX 0RzMlTXuy7t8C+IwSidblweTmxbOpEsyZ6hTIzv6rNWc6nNCKmwsxgPykk0IFSUObu93 +Oiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LFoS0gTejyApL8XAEuzc6iBKEwtkeedtvIkXJUakIOI=; b=06YMCikFrfnBYX0K+9ys7jUJX1qsjpsi5rNtarKPqZYsgxG/NjlvnpXcqbCDHgBrb6 Yvs5sVO4CSiAq0DTJUDFnrBYo5JnG/uzdDN8T89EXRxLBpX+DvYwlG9FsuWezQVEoNlO Stvl70XFXMt4lzZgOcv+xuMki0ND+F2fVHWixqeaKcdHpdS/1w+5Nn/z+mGcZG7kBbfT 0SaArxCBdyh9JvydQsQK402khFIpN3lSC1+G2lAhqNCJKtzYqJ3vFlsNF/8uVvBrLNC/ gVBL+Lr4+MuObSZih77TJq9yMmh3WpEsFw18ropP8pIgbm7Gl3U9e1IpspGFsvSyAcAH Xmvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nFPwT5Tj; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f10-20020a17090a4a8a00b001ec80aff088si365726pjh.16.2022.06.23.13.02.35; Thu, 23 Jun 2022 13:02:48 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nFPwT5Tj; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231529AbiFWTlZ (ORCPT + 99 others); Thu, 23 Jun 2022 15:41:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231514AbiFWTlD (ORCPT ); Thu, 23 Jun 2022 15:41:03 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C408040930 for ; Thu, 23 Jun 2022 12:31:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 86726B82506 for ; Thu, 23 Jun 2022 19:31:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85E6FC341C7; Thu, 23 Jun 2022 19:31:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656012714; bh=hfn7MS7c60aS32wAZk+VBab7erUth+gMMmPjek20u6w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nFPwT5TjxvKyH95nkrvHyOzx3Dfr74NOojDIej/rUolbCIiulRbJqg6uQEQnVwk6y 4ebzuSmA+FMqfXT/aJqmuWcSPctzC2VjTxIywuKFHXNRJRC6aINqsZraqkKaWwe0T9 WWa4yhyrSeymZuWH/tq9DAY83Qil9ZUjLd6LUuAxMvcwlP4268DIJymAlcrl+V1nKi HeCVhnnIqDs98NoxTeSv5B3e0/xISFzaYFW0XUp9+0RlRHBG9dJsoCngTMxjIJ5jBs TRHt5VLWHxD3JaFp5g9IGMIqWZ1tmo3fHmKXN5W6227tZsX/SVOSC8dEBDlr9/XIav W9nz4ZnJxmkrQ== From: Will Deacon To: andrey.konovalov@linux.dev, Catalin Marinas Cc: kernel-team@android.com, Will Deacon , Alexander Potapenko , Mark Rutland , 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 Date: Thu, 23 Jun 2022 20:31:32 +0100 Message-Id: <165599625020.2988777.9370908523559678089.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,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 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 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev