Received: by 2002:a05:6512:e85:0:0:0:0 with SMTP id bi5csp3091641lfb; Tue, 28 Jun 2022 06:18:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v+lsodnw9gE9aktp5cCsGUmPV6WUO5CnVjC2yA7ou6hF7XCqI6HClryHNNJswbX3U5tWM/ X-Received: by 2002:aa7:9911:0:b0:525:1bb3:965a with SMTP id z17-20020aa79911000000b005251bb3965amr3683545pff.79.1656422284587; Tue, 28 Jun 2022 06:18:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656422284; cv=none; d=google.com; s=arc-20160816; b=XHQwl5h+xPQuA+DBbV9FjGbGoz5b+LftIxTK1zeXu9NDbM59A300xPmSou+ymp+yoB lowXh3IHFhLXrYe32ZJhjaQsPnt+hV55e3M6xV09ktrqYRPWmM3GnHhlDIINnN8gNICF q6pKGJGg5NgsNhMnPEnS5UJz0mEbmXiamJX32rdRufD9ls38HfnChXHt1F/t7wqYqVqZ P1BaUvfuaGk/aVZGkbU1UXdBbRgjgX2qafHrpIYWrA3iji1Tpb3QA7QYyRkzNzs8Uq/r ceP6DSqk9tSPuEzj3Jq2Rx32hl5vhZUvE2NkW6d3Dv5qvDfQr63N7L93368mz+YfEpDi XHXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=DsbdvFQeUqASiOkCBKpg+u5M35Pu57mB+0bBgUEwlQ0=; b=TYSTO0sp3o5XUIyxcC/jNmXA0OLxQNpL81ja+t/VKNy+zi4bRJu9Oyo2oCjOza0Y+6 g27nm7op+ieS7FsGUwfPF0S+TNO7Wpef+J1RjaorirrxL/kuvU4WwMjVm2lJWUXNHonA 2zVN6HZRhONeOYX8NOAIkWniihcfY+3vx3NfLTK69bO8EEzfPxTPchD1vwWWH3q37O0K 8FHNF9vCFII7HM7e24skkYRG+2/m3IFLKeYBI9oNuLT9MTIE7ms/UMWV3GPVZ4qq2QuK /W1TDdeM7HXQujSZaG+zepHt5JXE+mU+JwItti6MkbawmYIW0T3Sfgrr6NwqY+GUcd1t NKfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=e3IN4akW; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z8-20020a170902d54800b0016224867873si16070885plf.477.2022.06.28.06.17.43; Tue, 28 Jun 2022 06:18:04 -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=@gmail.com header.s=20210112 header.b=e3IN4akW; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346198AbiF1NOi (ORCPT + 99 others); Tue, 28 Jun 2022 09:14:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344658AbiF1NOg (ORCPT ); Tue, 28 Jun 2022 09:14:36 -0400 Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42C0DFD21 for ; Tue, 28 Jun 2022 06:14:36 -0700 (PDT) Received: by mail-il1-x12b.google.com with SMTP id o4so8109501ilm.9 for ; Tue, 28 Jun 2022 06:14:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DsbdvFQeUqASiOkCBKpg+u5M35Pu57mB+0bBgUEwlQ0=; b=e3IN4akWLzaub9ywIDYCYrfEyGuFBmMblSI41OFofhQ4XvQEGGqcB/NQAP1fb6z2FH 1d94xUlOJ6n7jq3jhTc3C0CGfSjMuQXczYG9alx8yvCp++pzOQidiV3DMyN6MpjiCY0d akT4G0JYvOCKNsQG7ifLR7msuI1KDvYNs8pM5qnDqageC+k4nwa9SCbZEjlk4dc8Egbk vVym9uL5msvGncCMZWfqYwOopOTYjHZvoj91GGuFWNrJ3h02UkrLIRTLj5ziGF/gjtJD AxmLiKNyx+ozU5LircPBJ8VtDgNHK+whPKrC6v6+GLd3oN3rIVbgEPz9s8DiOrPtMhsy Cytg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DsbdvFQeUqASiOkCBKpg+u5M35Pu57mB+0bBgUEwlQ0=; b=XLWL36GD8xcoPX2531nIRvUAXCV4gJMDLg81ceJ1yVyB5wqpqUhtChd+MhQlXSLAQ6 mKEHzwCep428+spGuRGdbrfBWzyi+ytztkbqjvAjg+gOIUFC2WRq6SfVhMxnr5lLdG34 SGC7RKJ9uClzkzuNswQiGEnOzYyyq+rrQSTpKDi7fPkt0Co78qrzDFzQptH5s/Dy9LRy S0RZ29MeT6sdI1b9WJwhJuKE1iU5GmFIUyBKao4Lan8fC9qsaRqVZZYvSGL06MTuVp4+ iF6gZ5BOyF15E65Rhjz/chWoTLRExsWBvPIYBuLL+04sk/IfwpbmcMMI+vCpIHGK30hO QJ8Q== X-Gm-Message-State: AJIora8s0NOsiecIR99bzQC4RuXsZszu8hGFYfh5n4o7jzUxxpJ56S51 JCpS4xAGgtepgejZc7XeEPq9lclqk/UX+wVj+xoORMHL X-Received: by 2002:a92:b10e:0:b0:2d8:d8a7:8b29 with SMTP id t14-20020a92b10e000000b002d8d8a78b29mr10510693ilh.233.1656422075643; Tue, 28 Jun 2022 06:14:35 -0700 (PDT) MIME-Version: 1.0 References: <165599625020.2988777.9370908523559678089.b4-ty@kernel.org> In-Reply-To: <165599625020.2988777.9370908523559678089.b4-ty@kernel.org> From: Andrey Konovalov Date: Tue, 28 Jun 2022 15:14:24 +0200 Message-ID: Subject: Re: [PATCH v2 1/2] arm64: kasan: do not instrument stacktrace.c To: Will Deacon Cc: andrey.konovalov@linux.dev, Catalin Marinas , kernel-team@android.com, Alexander Potapenko , Mark Rutland , Dmitry Vyukov , Linux ARM , Vincenzo Frascino , kasan-dev , Andrey Konovalov , Marco Elver , Andrey Ryabinin , LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Thu, Jun 23, 2022 at 9:31 PM 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 Hi Will, The updated patches look good. Thanks!