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 X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB5E6C433DF for ; Mon, 24 Aug 2020 11:46:39 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 740A7206BE for ; Mon, 24 Aug 2020 11:46:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="iuMev4pI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 740A7206BE Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id DB0F66B0002; Mon, 24 Aug 2020 07:46:38 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D60FC6B0005; Mon, 24 Aug 2020 07:46:38 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C50576B0006; Mon, 24 Aug 2020 07:46:38 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id A9A1B6B0002 for ; Mon, 24 Aug 2020 07:46:38 -0400 (EDT) Received: from smtpin05.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 63DDA362A for ; Mon, 24 Aug 2020 11:46:38 +0000 (UTC) X-FDA: 77185284876.05.scale50_5300b9c27052 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin05.hostedemail.com (Postfix) with ESMTP id 3551818022BEE for ; Mon, 24 Aug 2020 11:46:38 +0000 (UTC) X-HE-Tag: scale50_5300b9c27052 X-Filterd-Recvd-Size: 4549 Received: from mail-oi1-f193.google.com (mail-oi1-f193.google.com [209.85.167.193]) by imf08.hostedemail.com (Postfix) with ESMTP for ; Mon, 24 Aug 2020 11:46:37 +0000 (UTC) Received: by mail-oi1-f193.google.com with SMTP id j7so7926512oij.9 for ; Mon, 24 Aug 2020 04:46:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HSpd9ndfyXeRtsopkN5H4Z9El4e9MphbysoofBmUjKk=; b=iuMev4pI1UXTK36SU5vo9Kb9A9hOWP30Dj81Zo7qdgxbcyzH0j8fQwJHFTueOj095U 5slvsAiAYB4ZSz7mRzUwSk2bkGa0/TJnvlcnEPFiEug1QedBDSwH6I5zjK3kSswknmUx Lzol4pMRkdLbVAB94FPqz4XQkcp8nuM2aRbklxyqY7e/ebJt0i1fNKFTvYbotc4DVv+b FSS6rdqU4gpSNqKcv464DOsapk+LPNAJUGEC6e5l72ZEKjM0PscLBYKA6KntyFjA96ud rjUhcbtVF+UYWBO11lyINnbB1kgj9RQdFFUSLkEH7UzhcbNRix3StySlX86yNNgHEeTe F4Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HSpd9ndfyXeRtsopkN5H4Z9El4e9MphbysoofBmUjKk=; b=CFt9qo2G3iWjOAcHDln7l48rJjo/jU8zkcNUKldfSboqJFlWgrBP6EdXdpkTBGCZc9 j/5WlA54BGTftEPhU0pGic5tBanflEsudBPcRilVouSlmWEADp1T6qyi7kkGhk5md1qs 3uSvkTh9dy7Y7/yeK+98ynKI+oipv98eYn2TYdrT2prrmIp1guvamdgIUvlUlNqArjx2 SRxN00hK1fFdK1pzNSuidj8WrSzQx0x9r/2UEjWst+herEQ45qQWyYfwSJhhDJmQ73ki 6nRGy0k5xn20uJ6n90uwPxZ4mTgqHRxM69va3g4KcvALDLBqnG9mN3/8RHPv6m4oyis/ xp0A== X-Gm-Message-State: AOAM530JTTh8Qb2nnM0gL5PI1z2oadMKXiLJnDgrrEAr8LZxf+q9Rwwc HujDBI02W7BPFBybDNv6dqCDI3Y07w0r+RrnTuYBhA== X-Google-Smtp-Source: ABdhPJy6Rvbpz4OVF7+E6Ibj6h44yQcnycBjoZStHMF7KBGlki8rKNee1gTheosMNsZuvJoobdu2aNNGxai7LvPhZeA= X-Received: by 2002:aca:cd12:: with SMTP id d18mr156277oig.70.1598269596930; Mon, 24 Aug 2020 04:46:36 -0700 (PDT) MIME-Version: 1.0 References: <20200824081433.25198-1-walter-zh.wu@mediatek.com> In-Reply-To: <20200824081433.25198-1-walter-zh.wu@mediatek.com> From: Marco Elver Date: Mon, 24 Aug 2020 13:46:25 +0200 Message-ID: Subject: Re: [PATCH v2 6/6] kasan: update documentation for generic kasan To: Walter Wu Cc: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Matthias Brugger , Jonathan Corbet , kasan-dev , Linux Memory Management List , LKML , Linux ARM , wsd_upstream , linux-mediatek@lists.infradead.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 3551818022BEE X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam01 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000003, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, 24 Aug 2020 at 10:14, Walter Wu wrote: > > Generic KASAN support to record the last two timer and workqueue > stacks and print them in KASAN report. So that need to update > documentation. > > Signed-off-by: Walter Wu > Cc: Andrey Ryabinin > Cc: Dmitry Vyukov > Cc: Alexander Potapenko > Cc: Jonathan Corbet > --- > Documentation/dev-tools/kasan.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/dev-tools/kasan.rst b/Documentation/dev-tools/kasan.rst > index fede42e6536b..5a4c5da8bda8 100644 > --- a/Documentation/dev-tools/kasan.rst > +++ b/Documentation/dev-tools/kasan.rst > @@ -193,8 +193,8 @@ function calls GCC directly inserts the code to check the shadow memory. > This option significantly enlarges kernel but it gives x1.1-x2 performance > boost over outline instrumented kernel. > > -Generic KASAN prints up to 2 call_rcu() call stacks in reports, the last one > -and the second to last. > +Generic KASAN prints up to 2 call_rcu() call stacks, timer queueing stacks, > +or workqueue queueing stacks in reports, the last one and the second to last. We could make this more readable by writing something like this: "Generic KASAN also reports the last 2 call stacks to creation of work that potentially has access to an object. Call stacks for the following are shown: call_rcu(), timer and workqueue queuing." Thanks, -- Marco