Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2082388pxa; Mon, 24 Aug 2020 04:47:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrC+qIzhiAfbpoIyGsGO3TcDG/B097E9yPGXAlEBpe2ZFPGuYXV115dXB6iIC/euYwqSUm X-Received: by 2002:a17:906:5e0b:: with SMTP id n11mr5417625eju.523.1598269668655; Mon, 24 Aug 2020 04:47:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598269668; cv=none; d=google.com; s=arc-20160816; b=VyBKDwcr2psJTCPBrzvi49xMIxJ33cBrhA3eGatdglSVSMbypJEIalF929ixUWZs7F fJ6o2+sq3OAQ15mV+6sBEEbWMA2HeITwwoAp7B6x9JkLOloA0i2ZCvJOQ1KWo0xlTaEc IcT5NlPD4JSOnItQ30hofCQnrSk9Fawtdg5r1MIZvS29njUMkJmSL/L1jKwRc2XH1J92 Nft2rpzvFzPFTOT/G7fjmYpckUzJtQBQXhUtgIb3W8a9unZIcGJeCojFpPdhx8fYlD75 K8J0EMoEYs//kNqhZrPF8zSlDWXB5qheNlm+EaD83MnKEnClbxLJlaG/Vnr1FnggYwUg hXeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=HSpd9ndfyXeRtsopkN5H4Z9El4e9MphbysoofBmUjKk=; b=DlHXWYdneHuIdu6rROsUQk9lTeDJScTEgielWG202fCTLASMUoF/GZVJ4L/BDrFDbl FX8uta3PLbU/7JFIGTfoSYJaWQ9W92M29QxAJ3Md2srxcRfO3CuGAo5+WPt10AFOIT6h nIKCryn1x7TK7TVEga25jdW9dzhSi4ZvjdZhpI7EZ00k20cJ6gYMmEyIuhHSr911R+OT cDn/S7cEqkpNMnCofocUfb/yHqyK9YJ9wdYd/d7vEb+rLs+DuWiDIDTubYvr2v/jOEjC 4YmcaZSskju9hvvaMbnZMpqeODEz4C57Ei3/4v0O6k4268uNaBMx1Db4tjcZz5vGLaU2 M6mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=iuMev4pI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d19si4333645edx.221.2020.08.24.04.47.25; Mon, 24 Aug 2020 04:47:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=iuMev4pI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726903AbgHXLqi (ORCPT + 99 others); Mon, 24 Aug 2020 07:46:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726435AbgHXLqh (ORCPT ); Mon, 24 Aug 2020 07:46:37 -0400 Received: from mail-oi1-x242.google.com (mail-oi1-x242.google.com [IPv6:2607:f8b0:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEF24C061573 for ; Mon, 24 Aug 2020 04:46:37 -0700 (PDT) Received: by mail-oi1-x242.google.com with SMTP id e6so7958243oii.4 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=jbt3+8sXpOhO3FmH6MVPO0PnY4VJ0FLRyrAqeE/bhmTIFVtIWHO5X77+e/PWiPFqcr ky5MKD3Dzq5bpC/1rPqfYCvFmhhy6wgBqTzCnD9XsoJ1n9hm471vFOJGj99JxEOMWli3 l/AgeaIa6F8Q1da6vk+WayO+1HRutkfOpVSsx7HUS8APuBwvPOKibQPENliCdbbnWJkI c22+NmWKN3oaLFs6eVmziEY86gtbuHBZ+XbZdQXpIPbXavHofjnuYbeQ5T8Hhx/+4QAc Z1Qa8aMeoB46DI6JlkHqNOtl+v1g9AACHQSOJFif5qoNzJp/OYYrFbI2wow0Bhxf3dZC PU4g== X-Gm-Message-State: AOAM5303W6eiVkQA5GYcbQ3VYzT+CEKNT1bYcsGMhtAjGYcdBP/B8kJG 6QysZaObj4/MylKT3678Qj4ykq1AAmeEXHICw6NRFg== 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" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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